From cartesian to polar plot

조회 수: 8 (최근 30일)
Ngurah Beni Setiawan
Ngurah Beni Setiawan 2017년 11월 8일
댓글: 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 CenterFile Exchange에서 Polar Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by