DCM from Euler angles

version (2.27 KB) by Dr. Murtaza Khan
Computes DCM from Euler angles for six basic sequence of rotations around X(Roll), Y(Pitch), Z(Ya)


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
rpy, ryp, pry, pyr, yrp, ypr
function to compute DCM from Euler angles

A simple test program to test dcmfromeuler.m

Cite As

Dr. Murtaza Khan (2022). DCM from Euler angles (https://www.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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!