How to plot a 3D surface using a matrix in Polar coordinate?
55 次查看(过去 30 天)
显示 更早的评论
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](https://www.mathworks.com/matlabcentral/answers/uploaded_files/219631/image.jpeg)
![qw.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/219631/image.jpeg)
2 个评论
KSSV
2019-5-15
YOu can use surf for this. Convert your polar coordinates to cartesian using pol2cart. If not attach your data.
回答(1 个)
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!