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 件)

Walter Roberson
Walter Roberson 2021 年 6 月 21 日

0 投票

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

カテゴリ

ヘルプ センター および File ExchangeInteractions, Camera Views, and Lighting についてさらに検索

製品

リリース

R2019b

質問済み:

2021 年 6 月 21 日

回答済み:

2021 年 6 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by