Skip to Main Content Skip to Search
Product Documentation

Rotation Angles to Direction Cosine Matrix - Convert rotation angles to direction cosine matrix

Library

Utilities/Axes Transformations

Description

The Rotation Angles to Direction Cosine Matrix block determines the direction cosine matrix (DCM) from a given set of rotation angles, R1, R2, and R3, respectively the first, second, and third rotation angles. The output is a 3-by-3 DCM that performs coordinate transformations based on rotation angles.

Dialog Box

Rotation Order

Specifies the input rotation order for three rotation angles. From the list, select ZYX, ZYZ, ZXY, ZXZ, YXZ, YXY, YZX, YZY, XYZ, XYX, XZY, or XZX. The default is ZYX.

Inputs and Outputs

InputDimension TypeDescription

First

3-by-1 vectorContains the rotation angles, in radians.

OutputDimension TypeDescription

First

3-by-3 matrixContains the direction cosine matrix.

See Also

Direction Cosine Matrix to Quaternions

Direction Cosine Matrix to Rotation Angles

Quaternions to Direction Cosine Matrix

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS