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.

Antworten (1)

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 .

Diese Frage ist geschlossen.

Gefragt:

am 6 Feb. 2014

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by