Direction Cosine Matrix to Euler´s angles

Take as input a "direction cosine matrix" and output Euler angles (for Z-Y-X sequence)

You are now following this Submission

Input matrix is 3x3.
It only works for the "Z-Y-X" sequence.

The function "dcm2angle" is available in Matlab 2012b in Airspace toolbox which also enable other sequences. But if you don't have acces to that toolbox, ... this is a beginning :-).

One Example included.

Cite As

Michala (2026). Direction Cosine Matrix to Euler´s angles (https://uk.mathworks.com/matlabcentral/fileexchange/39914-direction-cosine-matrix-to-euler-s-angles), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0