switching between quaternion and rotation matrix - 3D rotation Matric Problem
조회 수: 5 (최근 30일)
이전 댓글 표시
Hi, I have been working on transforming my previous code for reflecting points from an arbitrary plane by calculating via analytic solutions to matrix transformations. So basically, I am trying to get a matrix as such : TranslateBack*RotateBack*Reflect*Rotate*Translate (Each are separate 4x4 matrices multiplied with a set of points). Translation and reflection are pretty easy and can be obtained even from Wikipedia. But when I try to rotate my system (including plane and point) in 3 different axes I stuck with gimbal lock. So I made a quick research and quaternions seem like the answer. Yet I have confusion switching between angles (alpha, beta, gamma lets say) to quaternion and integrating to matrix multiplication. Does anyone have an idea of using quaternions in such transformation matrices? Thanks in advance.
Note: I have aerospace toolbox which enables conversion from rotation angles to quaternions easily. Bu I am also quite confused about how to employ these tools.
댓글 수: 0
답변 (3개)
Mischa Kim
2013년 12월 9일
Based on your information it is not quite clear what exactly you are trying to accomplish. Could you give more detail?
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!