From cartesian to polar plot

8 ビュー (過去 30 日間)
Ngurah Beni Setiawan
Ngurah Beni Setiawan 2017 年 11 月 8 日
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 件のコメント
Ngurah Beni Setiawan
Ngurah Beni Setiawan 2017 年 11 月 8 日
Problem solved!
I manage to produce the result.

サインインしてコメントする。

回答 (1 件)

KSSV
KSSV 2017 年 11 月 8 日
doc cart2pol and pol2cart
  1 件のコメント
Ngurah Beni Setiawan
Ngurah Beni Setiawan 2017 年 11 月 8 日
編集済み: Ngurah Beni Setiawan 2017 年 11 月 8 日
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"

サインインしてコメントする。

カテゴリ

Help Center および File ExchangePolar Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by