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

158 Ansichten (letzte 30 Tage)
Xun Huang
Xun Huang am 15 Mai 2019
Beantwortet: Jyotish Kumar am 22 Mai 2019
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 Kommentare
KSSV
KSSV am 15 Mai 2019
YOu can use surf for this. Convert your polar coordinates to cartesian using pol2cart. If not attach your data.
Xun Huang
Xun Huang am 15 Mai 2019
nice! Thanks for yhr answer!

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Jyotish Kumar
Jyotish Kumar am 22 Mai 2019
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.

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by