Main Content

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 3-element vector.

Data Types: double

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

Data Types: double


expand all

Mach number, returned as a scalar.

Data Types: double

Extended Capabilities

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

Version History

Introduced before R2006a