add rotation angle script

This commit is contained in:
Thomas Dehaeze 2018-04-17 15:12:13 +02:00
parent ecb128f042
commit cf35177883

3
Rotation_matrix_angles.m Normal file
View File

@ -0,0 +1,3 @@
thetax=atan2(-R(2,3),R(3,3));
thetay=atan2(R(1,3),sqrt((R(1,1))^2+(R(1,2))^2));
thetaz=atan2(-R(1,2),R(1,1));