Engee documentation

Wind Angles to Direction Cosine Matrix

Formation of transformation matrix from normal coordinate system to velocity coordinate system.

wind angles to direction cosine matrix

Description

The Wind Angles to Direction Cosine Matrix block generates a direction cosine matrix to convert the component vectors of the normal coordinate system to the velocity coordinate system.

The transformation matrix has the following form:

The unit uses coordinate systems according to the international standard ISO 1151.

Ports

Input

μ γ χ - angles between the axes of the normal and velocity coordinate systems
`vector 3 by 1

Angles between the axes of normal and velocity coordinate systems given as a vector. Elements of a vector:

  • - velocity roll angle, rad.

  • - pitch angle, rad.

  • - yaw angle, rad.

Data types: Float64.

Output

DCMwe - conversion matrix
3-by-3 matrix

The matrix of directional cosines for converting the component vectors of the normal coordinate system to the velocity coordinate system.

Data types: Float64.

Additional options

C code generation: Yes