A AUCC Apr 2010 23 0 May 25, 2010 #1 Code: function one() x=3; disp(x) end in the above code the output is 3 how can i get it as value of x is 3 please help

Code: function one() x=3; disp(x) end in the above code the output is 3 how can i get it as value of x is 3 please help

E elbarto Mar 2007 206 33 May 26, 2010 #2 Something like this: Code: EDU>> x = 3; EDU>> fprintf('value of x is %i\n',x) value of x is 3 EDU>> Elbarto Reactions: AUCC

Something like this: Code: EDU>> x = 3; EDU>> fprintf('value of x is %i\n',x) value of x is 3 EDU>> Elbarto