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!