How to rotate a cube using for loop?
2 views (last 30 days)
Show older comments
How to rotate a 3d cube using for loops?
Accepted Answer
KSSV
on 4 Jul 2019
Define a rotation matrix as shown here: https://en.wikipedia.org/wiki/Rotation_matrix and multiple the coordinates with the matrix.
More Answers (0)
See Also
Categories
Find more on Geometric Transformation and Image Registration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!