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.

roatation of axis as metioned in the question..

답변 (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