MATLAB Answers

How to rotate 3D surface matrices

조회 수: 2(최근 30일)
Florence 2021년 5월 10일
댓글: Star Strider 2021년 5월 10일
I have three matrices for surf command: X, Y, Z. I need to rotate the matrix 45 degrees around the y axis to draw a new surface.Is there anyway to achieve this?The schematic diagram is below.

채택된 답변

Star Strider
Star Strider 2021년 5월 10일
It depends on what you want to do.
To rotate the surface in the axes, use the rotate function.
To change the viewpoint (camera angle) use the view function.
  댓글 수: 4
Star Strider
Star Strider 2021년 5월 10일
As always, my pleasure!

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

추가 답변(0개)

Community Treasure Hunt

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

Start Hunting!

Translated by