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
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
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];
댓글 수: 0
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!