| Aerospace Blockset™ | ![]() |
Utilities/Axes Transformations
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 the coordinate transformation of a vector in inertial axes into a vector in body axes.

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.
| Input | Dimension Type | Description |
|---|---|---|
First | 3-by-1 vector | Contains the rotation angles, in radians. |
| Output | Dimension Type | Description |
|---|---|---|
First | 3-by-3 matrix | Contains the direction cosine matrix. |
Direction Cosine Matrix to Quaternions
Direction Cosine Matrix to Rotation Angles
Quaternions to Direction Cosine Matrix
![]() | Relative Ratio | Rotation Angles to Quaternions | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |