 #1
 136
 0
Main Question or Discussion Point
Ok, so Ive been given a curve in polar coordinates.
I came up with a parameterisation:
x(t)=rcos(theta)
y(t)=rsin(theta)
But now I have to plot the graph using matlab and I have no idea. Theta lies between 0 and 2pi.
This is what I put in and got back in matlab:
>> t=[0:pi/50:2pi]
??? t=[0:pi/50:2pi]

Error: Missing MATLAB operator.
Cheers.
I came up with a parameterisation:
x(t)=rcos(theta)
y(t)=rsin(theta)
But now I have to plot the graph using matlab and I have no idea. Theta lies between 0 and 2pi.
This is what I put in and got back in matlab:
>> t=[0:pi/50:2pi]
??? t=[0:pi/50:2pi]

Error: Missing MATLAB operator.
Cheers.