How to plot a 3D surface using a matrix in Polar coordinate?

조회 수: 117 (최근 30일)
Xun Huang
Xun Huang 2019년 5월 15일
답변: Jyotish Kumar 2019년 5월 22일
I have a meshed annular region (shown in image), I have no a analytical function z=f(x,y)but a matrix A stored z value of each node. furthermore, I know coordinates of every element in A matrix. Now, I want to plot the plot of z in this annular region. I know if the refion is rectandle, this is easy to do using mesh or surf. Anyone can help me? Tanks firstly.qw.jpg
  댓글 수: 2
KSSV
KSSV 2019년 5월 15일
YOu can use surf for this. Convert your polar coordinates to cartesian using pol2cart. If not attach your data.
Xun Huang
Xun Huang 2019년 5월 15일
nice! Thanks for yhr answer!

댓글을 달려면 로그인하십시오.

답변 (1개)

Jyotish Kumar
Jyotish Kumar 2019년 5월 22일
Hi,
I understand that you are trying to plot a 3D surface using a matrix in Polar coordinate. You can refer this link to find the detailed way to plot a 3D surface in a polar coordinate.

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by