| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Aerospace Blockset |
| Contents | Index |
| Learn more about Aerospace Blockset |
Utilities/Axes Transformations

The Wind Angles to Direction Cosine Matrix block converts three wind rotation angles into a 3-by-3 direction cosine matrix (DCM). The DCM matrix performs the coordinate transformation of a vector in earth axes (ox0, oy0, oz0) into a vector in wind axes (ox3, oy3, oz3). The order of the axis rotations required to bring this about is:
A rotation about oz0 through the heading angle (χ) to axes (ox1, oy1, oz1)
A rotation about oy1 through the flight path angle (γ) to axes (ox2, oy2, oz2)
A rotation about ox2 through the bank angle (μ) to axes (ox3, oy3, oz3)

Combining the three axis transformation matrices defines the following DCM.


| Input | Dimension Type | Description |
|---|---|---|
First | 3-by-1 vector | Contains wind angles, in radians. |
| Output | Dimension Type | Description |
|---|---|---|
First | 3-by-3 direction cosine matrix | Transforms earth vectors to wind vectors. |
This implementation generates a flight path angle that lies between ±90 degrees, and bank and heading angles that lie between ±180 degrees.
Direction Cosine Matrix Body to Wind
Direction Cosine Matrix to Rotation Angles
Direction Cosine Matrix to Wind Angles
Rotation Angles to Direction Cosine Matrix
![]() | WGS84 Gravity Model | Wind Angular Rates | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |