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 个)
Image Analyst
2013-11-13
newVector = rotationArray * oldVector;
What did you learn in class about the rotation matrix?
Mischa Kim
2013-12-9
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
类别
在 帮助中心 和 File Exchange 中查找有关 Assembly 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!