Can anyone help me with the "Axis rotation sequence for the Euler angles"

1 次查看(过去 30 天)
I need the information for the eul2rotm of "XYX"
I couldnt find this even on matlab documentation
  3 个评论
Chaitanya Mulla
Chaitanya Mulla 2019-11-28
I need to solve the problem having the order of rotation angles which is x-axis,
y-axis, x-axis (i.e., XYX) using eul2rotm. hope this helps
Jan
Jan 2019-11-29
It is still not clear. Do you want to obtain the rotation matrix for and input of 3 angles and the order XYX?
eul2rotm uses ZYX, ZYZ and XYZ only. So if you really want to get XYX with eul2rotm the answer is: This does not work.

请先登录,再进行评论。

回答(1 个)

Jan
Jan 2019-11-29
The rotation matrix for the Euler angles in the order XYX is:
s1 = sin(alpha);
c1 = cos(alpha);
s2 = sin(beta);
c2 = cos(beta);
s3 = sin(gamma);
c3 = cos(gamma);
[c2, s2.*s1, -s2.*c1; ...
s3.*s2, c3.*c1-s3.*c2.*s1, c3.*s1+s3.*c2.*c1; ...
c3.*s2, -s3.*c1-c3.*c2.*s1, -s3.*s1+c3.*c2.*c1];

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by