Trouble rotating a matrix using rotate

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)

rotate() cannot be used to rotate matrices. rotate() applies to graphics objects such as plots or images.
See imrotate()

Categories

Find more on Interactions, Camera Views, and Lighting in Help Center and File Exchange

Products

Release

R2019b

Asked:

on 21 Jun 2021

Answered:

on 21 Jun 2021

Community Treasure Hunt

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

Start Hunting!