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.

Respuestas (1)

Walter Roberson
Walter Roberson el 21 de Jun. de 2021

0 votos

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

Categorías

Productos

Versión

R2019b

Preguntada:

el 21 de Jun. de 2021

Respondida:

el 21 de Jun. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by