- #1
morry
- 136
- 0
Ok, so I've 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.