From cartesian to polar plot

8 vues (au cours des 30 derniers jours)
Ngurah Beni Setiawan
Ngurah Beni Setiawan le 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 commentaire
Ngurah Beni Setiawan
Ngurah Beni Setiawan le 8 Nov 2017
Problem solved!
I manage to produce the result.

Connectez-vous pour commenter.

Réponses (1)

KSSV
KSSV le 8 Nov 2017
doc cart2pol and pol2cart
  1 commentaire
Ngurah Beni Setiawan
Ngurah Beni Setiawan le 8 Nov 2017
Modifié(e) : Ngurah Beni Setiawan le 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"

Connectez-vous pour commenter.

Catégories

En savoir plus sur Polar Plots dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by