image thumbnail

DCM from Euler angles

version 1.1.0.0 (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)

4.6K Downloads

Updated 09 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 Khan (2021). 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!