angle2dcm3(rot1, rot2, rot3, order)

Converts euler angles to dcm based on order specified.
187 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 (2024). 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
Categories
Find more on Antennas, Microphones, and Sonar Transducers in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
2.0.0.0

rotate(rotangle, x, y, z) function is included. This function rotates any vector [x, y, z] by angle rotangle. The angle is given in degrees. angle2dcm3 calles rotate(..) internally.

1.0.0.0