matrix determined by eul2rotm does not match a matrix calculated by euler angles using rotm2eul
5 次查看(过去 30 天)
显示 更早的评论
I calcurated euler angles from a rotation matrix using "rotm2eul".
And I tried to confirm if a matrix calculated from the euler angles using "eul2rotm" corresponds to the original matrix.
However, the recalculated matrix did not correspond to the original one.
I used a sequence "XYZ" for both calcurations.
Is this conformation process wrong?
I would like to reproduce a rotation matrix using euler angles.
If anyone knows solutions about this, please let me know.
Sincerely,
7 个评论
David Goodmanson
2020-11-22
Hello Akiko, it might be a small problem, but it's an interesting one, the finding that det = -1 changes things so radically.
回答(1 个)
Yiping Liu
2021-5-23
When you feed in a rotation matrix to rotm2eul, if the matrix is not orthonormal, the rotm2eul will try to find the closest orthonormal matrix first. In that case if you try to convert the Euler angles back to rotation matrix, you won't get back the original one.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spline Postprocessing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!