How can I make a meshgrid of this image? I am trying to create a bathymetry with matrix.
11 views (last 30 days)
Show older comments
How can I make a meshgrid of this image? I am trying to create a bathymetry with matrix.![78938564_735793030237520_6722893131399823360_n.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/254161/image.jpeg)
![78938564_735793030237520_6722893131399823360_n.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/254161/image.jpeg)
0 Comments
Answers (1)
Sourav Bairagya
on 18 Dec 2019
You can do that following this way. Assume the image is I.
[X,Y]=meshgrid(1:size(I,2), 1:size(I,1));
mesh(X,Y,I) %display mesh plot
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!