how to plot a 3d surface using a matrix
Show older comments
I have a matrix d = 6x181, each of the numbers comprising it being density. How can I draw a surface plot against p and m, where m=1:1:6 and s=0:20:181? There was a similar question in the forum addressing the case of a matrix M with equal dimensions, but it was unclear to me, how to model it for my situation. Any help would be greatly appreciated.
1 Comment
madhan ravi
on 23 Oct 2018
provide all the datas to test
Accepted Answer
More Answers (1)
Walter Roberson
on 23 Oct 2018
0 votes
See warp() which can accept arbitrary rectangular grid of coordinates including non uniform.
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!