Trouble rotating a matrix using rotate

6 views (last 30 days)
Michael Costa
Michael Costa on 21 Jun 2021
Answered: Walter Roberson on 21 Jun 2021
I have 3x3 rotation matrices that I am trying to rotate about specific axes and angles. When I try to rotate them using rotate, I get this error.
Error using rotate (line 29)
H must contain axes children only.

Answers (1)

Walter Roberson
Walter Roberson on 21 Jun 2021
rotate() cannot be used to rotate matrices. rotate() applies to graphics objects such as plots or images.
See imrotate()

Categories

Find more on 3-D Scene Control in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!