How can I make a meshgrid of this image? I am trying to create a bathymetry with matrix.
26 ビュー (過去 30 日間)
古いコメントを表示
How can I make a meshgrid of this image? I am trying to create a bathymetry with matrix.
0 件のコメント
回答 (1 件)
Sourav Bairagya
2019 年 12 月 18 日
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 件のコメント
参考
カテゴリ
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!