From cartesian to polar plot

7 visualizaciones (últimos 30 días)
Ngurah Beni Setiawan
Ngurah Beni Setiawan el 8 de Nov. de 2017
Comentada: Ngurah Beni Setiawan el 8 de Nov. de 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 comentario
Ngurah Beni Setiawan
Ngurah Beni Setiawan el 8 de Nov. de 2017
Problem solved!
I manage to produce the result.

Iniciar sesión para comentar.

Respuestas (1)

KSSV
KSSV el 8 de Nov. de 2017
doc cart2pol and pol2cart
  1 comentario
Ngurah Beni Setiawan
Ngurah Beni Setiawan el 8 de Nov. de 2017
Editada: Ngurah Beni Setiawan el 8 de Nov. de 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"

Iniciar sesión para comentar.

Categorías

Más información sobre Polar Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by