Write a program using Matlab that will rotate an arbitrary vector by an arbitrary set of Euler angles
Show older comments
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!
Answers (2)
Image Analyst
on 13 Nov 2013
newVector = rotationArray * oldVector;
What did you learn in class about the rotation matrix?
Mischa Kim
on 9 Dec 2013
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
Categories
Find more on Assembly in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!