DCM from Euler angles
Version 1.1.0.0 (2.27 KB) by
Dr. Murtaza Ali Khan
Computes DCM from Euler angles for six basic sequence of rotations around X(Roll), Y(Pitch), Z(Ya)
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 (2024). 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 LinuxCategories
- Aerospace and Defense > Aerospace Toolbox > Standard Workflow Procedures > Physical and Time Unit Conversions >
Find more on Physical and Time Unit Conversions in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.