for i= 1:4 disp (['enter an angle in degrees']); x = input(prompt) y(x) = cos (x); plot (x,y); end y
MATLAB: Where is the error in prompt function in this code
prompt
prompt
for i= 1:4 disp (['enter an angle in degrees']); x = input(prompt) y(x) = cos (x); plot (x,y); end y
Best Answer