Anyone here familiar with MATLAB??
If so, I'm trying to learn it and I'm having a bit of trouble. Tell me whether anything is wrong with the following function:
And then to execute and calculate the sine of 30 degrees, I type in the command menu the following:
I'm getting the following error everytime I try to execute:
What am I doing wrong?
If so, I'm trying to learn it and I'm having a bit of trouble. Tell me whether anything is wrong with the following function:
function h=sindeg(x)
h=sin(pi/180*x);
h=sin(pi/180*x);
sindeg(30)
I'm getting the following error everytime I try to execute:
??? Undefined function or variable 'sindeg'.
