atmoscoesa - Use 1976 COESA model

Syntax

[T, a, P, rho] = atmoscoesa(h, action)

Description

[T, a, P, rho] = atmoscoesa(h, action) implements the mathematical representation of the 1976 Committee on Extension to the Standard Atmosphere (COESA) United States standard lower atmospheric values for absolute temperature, pressure, density, and speed of sound for the input geopotential altitude.

Inputs for atmoscoesa are:

hAn array of m geopotential heights, in meters
actionA string to determine action for out-of-range input. Specify if out-of-range input invokes a 'Warning', 'Error', or no action ('None'). The default is 'Warning'.

Outputs calculated for the COESA model are:

TAn array of m temperatures, in kelvin
aAn array of m speeds of sound, in meters per second
PAn array of m air pressures, in pascal
rhoAn array of m air densities, in kilograms per meter cubed

Examples

Calculate the COESA model at 1000 meters with warnings for out-of-range inputs:

[T, a, P, rho] = atmoscoesa(1000)


T =

  281.6500


a =

  336.4341


P =

  8.9875e+004


rho =

    1.1116

Calculate the COESA model at 1000, 11,000, and 20,000 meters with errors for out-of-range inputs:

[T, a, P, rho] = atmoscoesa([1000 11000 20000], 'Error')


T =

  281.6500  216.6500  216.6500


a =

  336.4341  295.0696  295.0696


P =

  1.0e+004 *

    8.9875    2.2632    0.5475


rho =

    1.1116    0.3639    0.0880

Assumptions and Limitations

Below the geopotential altitude of 0 m (0 feet) and above the geopotential altitude of 84,852 m (approximately 278,386 feet), temperature values are extrapolated linearly and pressure values are extrapolated logarithmically. Density and speed of sound are calculated using a perfect gas relationship.

References

U.S. Standard Atmosphere, 1976, U.S. Government Printing Office, Washington, D.C.

See Also

atmosisa, atmoslapse, atmosnonstd, atmospalt

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS