how to get new coordinatesof the point[2,1,3],if a vector with endpoint[2,1,3] is rotated 30 around the Z-axis followed by 60 around the x-axis.all rotations are counter clockwise.

回答 (1 件)

Mischa Kim
Mischa Kim 2014 年 2 月 6 日
編集済み: Mischa Kim 2014 年 2 月 6 日
Nikhil, if you want to rotate vectors (rather than the coordinate system) use the rotz and rotx commands. As an example:
rotz(30)*[2;1;3]
If, on the other hand, you need to rotate a reference frame (to find the vector components in a different frame), check out this answer .

この質問は閉じられています。

質問済み:

2014 年 2 月 6 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by