| Aerospace Toolbox | ![]() |
[T, a, P, rho] = atmoscoesa(h, action)
[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:
| h | An array of m geopotential heights, in meters |
| action | A 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:
| T | An array of m temperatures, in kelvin |
| a | An array of m speeds of sound, in meters per second |
| P | An array of m air pressures, in pascal |
| rho | An array of m air densities, in kilograms per meter cubed |
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.1116Calculate 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.0880Below 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.
U.S. Standard Atmosphere, 1976, U.S. Government Printing Office, Washington, D.C.
atmosisa, atmoslapse, atmosnonstd, atmospalt
![]() | Animation (Aero.Animation) | atmoscira | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |