Main Content

Mach Number

Compute Mach number using velocity and speed of sound

  • Library:
  • Aerospace Blockset / Flight Parameters

  • Mach Number block

Description

The Mach Number block computes the Mach number. The Mach number is defined as

Mach=VVa,

where a is the speed of sound and V is the velocity vector.

Ports

Input

expand all

Velocity vector, specified as an m-by-3 vector.

Data Types: double

Speed of sound, specified as a 1-by-1 array.

Data Types: double

Output

expand all

Mach number, returned as an m-by-1 vector.

Data Types: double

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Introduced before R2006a