필터 지우기
필터 지우기

3D Solid Cube

조회 수: 6 (최근 30일)
shahin sharafi
shahin sharafi 2023년 4월 11일
편집: Walter Roberson 2023년 4월 12일
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일
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개)

카테고리

Help CenterFile Exchange에서 Object Containers에 대해 자세히 알아보기

태그

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by