Write a program using Matlab that will rotate an arbitrary vector by an arbitrary set of Euler angles

Hi all,
I need to write a program that will take an arbitrary vector and then rotate it according to input Euler Angle values of psi, theta and phi. Any help is greatly appreciated!

답변 (2개)

newVector = rotationArray * oldVector;
What did you learn in class about the rotation matrix?
See this MATLAB answer for reference, which uses a 3-2-1 (consecutive rotations about the local z-, the local y-, and lastly, the local x-axis) rotation sequence. Note that your rotation sequence might be different, dependending on the problem you would like to solve. The overall rotation matrix corresponds to the
rotationArray
in the example shown by Image Analyst.

카테고리

질문:

2013년 11월 13일

답변:

2013년 12월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by