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 ExchangeObject 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