Documentation Center

  • Trial Software
  • Product Updates

machnumber

Compute Mach number using velocity and speed of sound

Syntax

mach = machnumber(v, a)

Description

mach = machnumber(v, a) computes m Mach numbers, mach, from an m-by-3 array of velocities, v, and an array of m speeds of sound, a. v and a must have the same length units.

Examples

Determine the Mach number for velocity and speed of sound in feet per second:

mach = machnumber([84.3905 33.7562 10.1269], 1116.4505)


mach =

    0.0819

Determine the Mach number for velocity and speed of sound in meters per second:

mach = machnumber([25.7222 10.2889 3.0867], [340.2941 295.0696])


mach =

    0.0819    0.0945

Determine the Mach number for velocity and speed of sound in knots:

mach = machnumber([50 20 6; 5 0.5 2], [661.4789 573.5694])


mach =

    0.0819
    0.0094

See Also

| |

Was this topic helpful?