How can I make a meshgrid of this image? I am trying to create a bathymetry with matrix.

Antworten (1)

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

Kategorien

Mehr zu Vector Fields finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 12 Dez. 2019

Beantwortet:

am 18 Dez. 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by