How to rotate a cube using for loop?

2 views (last 30 days)
hsgaya
hsgaya on 3 Jul 2019
Commented: hsgaya on 5 Jul 2019
How to rotate a 3d cube using for loops?

Accepted Answer

KSSV
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.
  1 Comment
hsgaya
hsgaya on 5 Jul 2019
Thank you KSSV.I'll try to understand this documemt.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!