Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.


Will
Posts:
2
From:
UK
Registered:
11/16/09


Plotting a function using Polar coordinates
Posted:
Nov 16, 2009 5:52 PM



Hi,
Im really new to MatLab. I have tried to plot the above area. (plot.jpg)
This is my method. Its obviously wrong.
theta = linspace(0,pi); r = 250*(pi  theta)/(sin(theta)); x = r.*cos(theta) z = r.*sin(theta) plot (x,z)
When it plots, I get an area twice the size and oriented wrong.
Can someone please have a look at this and show me where I am going wrong? I know its a fairly remedial task only I am still learning.
All the best


Date

Subject

Author

11/16/09


Will

11/16/09


Will


