Function to Convert between DCM, Euler angles, Quaternions, and Euler vectors

Function to convert rotation data between 4 types: DCM, Euler Angles, Quaternions, and Euler Param.

Download
Download

You are now following this Submission

Cite As

John Fuller (2026). Function to Convert between DCM, Euler angles, Quaternions, and Euler vectors (https://in.mathworks.com/matlabcentral/fileexchange/20696-function-to-convert-between-dcm-euler-angles-quaternions-and-euler-vectors), 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.11.0

Incorporated fix to 2nd Euler Angle checks.

Download
1.10.0

Updated help text. Again.

Download
1.9.0

Updated help text to clarify DCM convention.

Download
1.8.0

Fixed summary.

Download
1.7.0

Updated description.

Download
1.6.0

Updated tags

Download
1.5.0

Updated tags

Download
1.4.0

Modified v1.3 description

Download
1.3.0

Version 1.3 Now detects when input DCM, Q, or EV are too close to Euler singularity. Prohibits output to Euler angles when second angle is within 0.1 degree of singular value.

Download
1.2.0

Revised file description to explain Euler angle singularities

Download
1.1.0

Removed bounding constraints on first and third input Euler angles. Bounds on second angles remain intact due to possibilities of ambiguous input Euler sets.

Download
1.0.0

Updated file to version 1.1 to accommodate some user comments that improve output.

Download