Calcuate euler angles from rotation matrix in matlab

The following Matlab project contains the source code and Matlab examples used for calcuate euler angles from rotation matrix. % This function return the rotation along x,y and z direction from a % Rotation Matrix %Inputs:     % R= 3x3 Rotation Matrix %Outputs:     % rx= Rotation along x direction in radians     % ry= Rotation along y direction in radians     % rz= Rotation along z direction in radians      % R = % % [ cos(ry)*cos(rz), -cos(ry)*sin(rz), sin(ry)] % [ cos(rx)*sin(rz) + cos(rz)*sin(rx)*sin(ry), cos(rx)*cos(rz) - sin(rx)*sin(ry)*sin(rz), -cos(ry)*sin(rx)] % [ sin(rx)*sin(rz) - cos(rx)*cos(rz)*sin(ry), cos(rz)*sin(rx) + cos(rx)*sin(ry)*sin(rz), cos(rx)*cos(ry)] % Author : Sandeep Sasidharan % http://sandeepsasidharan.

The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.

Project Files: 

File NameSize
GetEulerAngles.m 825
license.txt 1318