cartesian to polar form

12 views (last 30 days)
Sarah Janahi
Sarah Janahi on 30 Apr 2021
Answered: Nagasai Bharat on 3 May 2021
How to write x^2 times e^(xy) in polar function in MATLAB
  2 Comments
John D'Errico
John D'Errico on 30 Apr 2021
Edited: John D'Errico on 30 Apr 2021
What does a polar function mean? Is it really cold?
Hint: e^(xy) is simply
exp(x.*y)
Perhaps by polar you mean that you want to write a conversion into polar coordinates. But that has nothing to do with MATLAB. For that, you need to understand how to perform a coordinate transformation. So, what do you have? What do you really need to do?
And, by the way, if you really want help, learn to write a descriptive subject, as nobody can know what they are getting into by the subject: "Guys help me please". Why do you want to make it more difficult for you to find help?
Sarah Janahi
Sarah Janahi on 30 Apr 2021
polar is when you replace
(x) with r cos(theta)
and (y) with r sin(theta)

Sign in to comment.

Answers (1)

Nagasai Bharat
Nagasai Bharat on 3 May 2021
Hi,
To convert co-ordinated from x,y form (cartesian) to r,theta form(polar). The cart2pol function would help you achieve it.
But if want to represent an equation in the polar(Represent a point in place using r and theta as axis) from replace x,y with r.cos(theta), r.sin(theta) where r => radius co-ordinate and theta => angle co-ordinate.

Categories

Find more on Polar Plots in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!