Mach Number

Compute Mach number using velocity and speed of sound

  • Library:
  • Aerospace Blockset / Flight Parameters

  • Mach Number block


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


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



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


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