3D Solid Cube
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
shahin sharafi
le 11 Avr 2023
Modifié(e) : Walter Roberson
le 12 Avr 2023
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 commentaires
Réponse acceptée
Walter Roberson
le 11 Avr 2023
Modifié(e) : Walter Roberson
le 12 Avr 2023
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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Object Containers dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!