Euler angles calculation

9 visualizaciones (últimos 30 días)
GeorgeP P
GeorgeP P el 29 de Mayo de 2011
I use a YXZ rotation order to rotate a point in 3D around the origin (0, 0 ,0). So the pseudocode I use is newPoint = R * oldPoint, where R is the rotation matrix RY * RX * RZ.
If I want to do the oposite procedure, which is, given the old and the new point to calculate the euler angles I used to get the new point what should I do?
To summarize in the first case I have the Euler angles and I use the matrix multiplication to obtain the new point coordinates. In the second case I have the new point coordinates but I want to know the Euler angles used to get this result.
Any suggestions?

Respuestas (1)

Paulo Silva
Paulo Silva el 29 de Mayo de 2011
  1 comentario
GeorgeP P
GeorgeP P el 29 de Mayo de 2011
This answer requires that I have the rotation matrix values. From my data I have newPoint = R * oldPoint, where newPoint and onldPoint are the known matrices. So how do I get R from these matrices? I suspect I have to get the system of linear equations, but is there another way of doing this?

Iniciar sesión para comentar.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by