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.

回答(1 个)

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

类别

帮助中心File Exchange 中查找有关 Geometric Transformation and Image Registration 的更多信息

产品

版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by