How can I make a meshgrid of this image? I am trying to create a bathymetry with matrix.
16 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
How can I make a meshgrid of this image? I am trying to create a bathymetry with matrix.
0 commentaires
Réponses (1)
Sourav Bairagya
le 18 Déc 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 commentaires
Voir également
Catégories
En savoir plus sur Surface and Mesh Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!