How can I make a meshgrid of this image? I am trying to create a bathymetry with matrix.
조회 수: 25 (최근 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!