From cartesian to polar plot

8 Ansichten (letzte 30 Tage)
Ngurah Beni Setiawan
Ngurah Beni Setiawan am 8 Nov. 2017
Hi,
Can anyone help me to generate a plot in "polar" coordinate?
I have a curve shown in red (see the plot below). The x-axis is running from 0-360degree and the y-axis is just some numbers--here I have assumed it to be sinusoidal.
Now, suppose I want to produce another plot with similar dataset but the x-axis is to be displayed in "polar"coordinate.
I expect, in polar coordinate, the red curve will look like an ellipse.
I would appreciate any ideas.
thanks.
  1 Kommentar
Ngurah Beni Setiawan
Ngurah Beni Setiawan am 8 Nov. 2017
Problem solved!
I manage to produce the result.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

KSSV
KSSV am 8 Nov. 2017
doc cart2pol and pol2cart
  1 Kommentar
Ngurah Beni Setiawan
Ngurah Beni Setiawan am 8 Nov. 2017
Bearbeitet: Ngurah Beni Setiawan am 8 Nov. 2017
I am aware of these two functions, but it seems that my problem is more about plotting technique while these two functions would actually alter my dataset.
I want to plot exactly the same dataset but in different "style"

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Polar Plots finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by