rahul.6sept
Full Member level 5
- Joined
- Nov 17, 2006
- Messages
- 243
- Helped
- 1
- Reputation
- 2
- Reaction score
- 1
- Trophy points
- 1,298
- Location
- Guwahati, India
- Activity points
- 2,889
when i write the line disp(['Factorial of 'num2str(num(p))' is :']; a red line comes under num2str(num(p)) and :']
One more thing i need to ask you is if it is necessary to have the function name and m file name to be the same as that is what i have seen in Rudra Pratap's book to be kept as same.
Rahul
function x=major_function(y)
x=inner_function(y)+24;
function temp=inner_function(temp_y)
temp=temp_y+100;
>> major_function(1)
ans =
125
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?