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.
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 .
Acknowledgements
Inspired: Euler angle, DCM, Quaternion, and Euler Vector Conversion/Teaching GUI, quaternion
General Information
- Version 1.11.0 (5.67 KB)
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. |
||
| 1.10.0 | Updated help text. Again. |
||
| 1.9.0 | Updated help text to clarify DCM convention. |
||
| 1.8.0 | Fixed summary. |
||
| 1.7.0 | Updated description. |
||
| 1.6.0 | Updated tags |
||
| 1.5.0 | Updated tags |
||
| 1.4.0 | Modified v1.3 description |
||
| 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. |
||
| 1.2.0 | Revised file description to explain Euler angle singularities |
||
| 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. |
||
| 1.0.0 | Updated file to version 1.1 to accommodate some user comments that improve output. |