3D Solid Cube
조회 수: 6 (최근 30일)
이전 댓글 표시
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,
댓글 수: 0
채택된 답변
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... use rotate3d
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Object Containers에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!