DCM from Euler angles

Computes DCM from Euler angles for six basic sequence of rotations around X(Roll), Y(Pitch), Z(Ya)
4.8K Downloads
Updated 9 Jul 2009

View License

Computes Direction Cosine Matrix from Euler angles (in radians) for six basic sequence of rotations around X(Roll),Y(Pitch) and Z(Yaw) axis.

Allowed rotations sequences:
xyz, xzy, yxz, yzx, zxy, zyx
OR
rpy, ryp, pry, pyr, yrp, ypr
----------------------------
dcmfromeuler.m
function to compute DCM from Euler angles

dcmfromeulerTest.m
A simple test program to test dcmfromeuler.m

Cite As

Dr. Murtaza Ali Khan (2026). DCM from Euler angles (https://au.mathworks.com/matlabcentral/fileexchange/9289-dcm-from-euler-angles), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP2
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.1.0.0

BSD License

1.0.0.0

revised