angle2dcm3(rot1, rot2, rot3, order)

version 2.0.0.0 (1.17 KB) by Vipin Yadav
Converts euler angles to dcm based on order specified.

144 Downloads

Updated 26 Jun 2015

View License

The function converts euler angles to 3 x 3 direction cosine matrix. The order of rotation is specified as 'ZYX', 'XYZ' , etc. In right handed system, clockwise rotation about an axis while looking towards origin from axis is taken as positive. The function is similar to angle2dcm of matlab, but differs in sign of rotation angles. In matlab, anticlockwise direction is taken as positive. angle2dcm2(rot1, rot2, rot3) = angle2dcm(-rot1, -rot2, -rot3)

Cite As

Vipin Yadav (2022). angle2dcm3(rot1, rot2, rot3, order) (https://www.mathworks.com/matlabcentral/fileexchange/51546-angle2dcm3-rot1-rot2-rot3-order), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!