Hi
I am going to create a solid cube in 3D in MATLAB that by rotating of one length of cube in the desired angle, other lengths rotate automaicly without deformation of the cube. I would appreciate your help in advance .
Thanks,

 채택된 답변

Walter Roberson
Walter Roberson 2023년 4월 11일
편집: Walter Roberson 2023년 4월 12일

0 개 추천

Create an hgtransform parented to the axes. Create a patch() object parented to the hgtransform . Set the Matrix property of the hgtransform to rotate it; it helps to use makehgtform
Or... work with the various camera operations. https://www.mathworks.com/help/matlab/views.html
Or... use rotate3d

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Object Containers에 대해 자세히 알아보기

제품

릴리스

R2020a

태그

질문:

N/A
2023년 4월 11일

편집:

2023년 4월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by