Write a program using Matlab that will rotate an arbitrary vector by an arbitrary set of Euler angles
Mostrar comentarios más antiguos
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!
Respuestas (2)
Image Analyst
el 13 de Nov. de 2013
newVector = rotationArray * oldVector;
What did you learn in class about the rotation matrix?
Mischa Kim
el 9 de Dic. de 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
Categorías
Más información sobre Assembly en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!