I have a 2D array of heights and I want to build a 3D surface that will correspond the vertical height in pixels to the location on the surface based on the index of the height in the matrix. Is it possible to make the surface continuous as well?

 채택된 답변

Star Strider
Star Strider 2019년 7월 2일

0 개 추천

Use the surf function, or its friend, mesh (linked to in that documentation page).

댓글 수: 2

Sana Ahmed
Sana Ahmed 2019년 7월 2일
Works perfectly, thanks for the tip!
Star Strider
Star Strider 2019년 7월 2일
As always, my pleasure!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

질문:

2019년 7월 2일

댓글:

2019년 7월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by