switching between quaternion and rotation matrix - 3D rotation Matric Problem
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (3)
Mischa Kim
el 9 de Dic. de 2013
Based on your information it is not quite clear what exactly you are trying to accomplish. Could you give more detail?
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!