| Aerospace Blockset™ | ![]() |
Utilities/Axes Transformations

The Direction Cosine Matrix
Body to Wind to Alpha and Beta block converts a 3-by-3 direction cosine
matrix (DCM) into angle of attack and sideslip angle. The DCM matrix
performs the coordinate transformation of a vector in body axes
into
a vector in wind axes
. The order of the axis rotations
required to bring this about is:
A rotation about oy0 through
the angle of attack
to axes
![]()
A rotation about oz1 through
the sideslip angle
to axes
![]()


Combining the two axis transformation matrices defines the following DCM.

To determine angles from the DCM, the following equations are used:
![]()
![]()

| Input | Dimension Type | Description |
|---|---|---|
First | 3-by-3 direction cosine matrix | Transforms body-fixed vectors to wind-fixed vectors. |
| Output | Dimension Type | Description |
|---|---|---|
First | 2-by-1 vector | Contains angle of attack and sideslip angle, in radians. |
This implementation generates angles that lie between
degrees.
Stevens, B. L., and F. L. Lewis, Aircraft Control and Simulation, John Wiley & Sons, New York, 1992.
Direction Cosine Matrix Body to Wind
Direction Cosine Matrix to Rotation Angles
Direction Cosine Matrix to Wind Angles
Rotation Angles to Direction Cosine Matrix
Wind Angles to Direction Cosine Matrix
![]() | Direction Cosine Matrix Body to Wind | Direction Cosine Matrix ECEF to NED | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |