The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Math Topics » geometry.research

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Plotting a function using Polar coordinates
Replies: 1   Last Post: Nov 16, 2009 5:55 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 2
From: UK
Registered: 11/16/09
Plotting a function using Polar coordinates
Posted: Nov 16, 2009 5:52 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply
PLOT.jpg (34.2 K)


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

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.