Use climatic data from MIL-STD-210 or MIL-HDBK-310
implements a portion of the climatic data of the MIL-STD-210C or MIL-HDBK-310 worldwide air
environment to 80 km geometric (or approximately 262,000 feet geometric). This
implementation provides absolute temperature, pressure, density, and speed of sound for the
input geopotential altitude.
This function holds all values below the geometric altitude of 0 m (0 feet) and above
the geometric altitude of 80,000 m (approximately 262,000 feet). For exceptions on the
envelope atmosphere model, see
Calculate Nonstandard Atmosphere Profile
Calculate the nonstandard atmosphere profile. Use high density occurring 1% of the time at 5 km from MIL-HDBK-310 at 1000 m with warnings for out-of-range inputs.
[T,a,P,rho] = atmosnonstd(1000,'Profile','High density','1%',5)
T = 248.1455 a = 315.7900 P = 8.9893e+04 rho = 1.2620
Calculate Nonstandard Atmosphere Profile Specifying Atmosphere Model
Calculate the nonstandard atmosphere envelope with high pressure. Assume that high pressure occurs 20% of the time from MIL-STD-210C at 1000, 11,000, and 20,000 m, with errors for out-of-range inputs.
[T,a,P,rho] = atmosnonstd([1000 11000 20000],'Envelope', ... 'High pressure','20%','Error','210c')
T = 0 0 0 a = 0 0 0 P = 1.0e+04 * 9.1598 2.5309 0.6129 rho = 0 0 0
height — Geopotential heights
Geopotential heights, specified as an m-by-1 array.
atmosphericType — Atmospheric data type
Atmospheric data, specified as one of these values.
|Atmospheric Data Type||Description|
Use for simulation of vehicles vertically traversing the atmosphere, or when you need the total influence of the atmosphere. Use this type for realistic atmospheric profiles associated with extremes at specified altitudes.
Use for vehicles traversing the atmosphere horizontally, without much change in altitude. Use this type for extreme atmospheric values at each altitude.
Due to lack of data in MIL-STD-210 or MIL-HDBK-310 for these conditions, this atmospheric model has these exceptions:
extremeParameter — Atmospheric parameter for extreme value
'High temperature' |
'Low temperature' |
'High density' |
'Low density' |
'High pressure' |
Atmospheric parameter for extreme value, specified as:
'High pressure' and
'Low pressure' are
available only if
atmosphericType is set to
frequency — Percent of time extreme values can occur
'Extreme values' |
Percent of time that extreme values can occur, specified as:
'20%'are available only if
atmosphericTypeis set to
atmosphericTypeis set to
frequencyis set to
atmosnonstdoutputs valid output only for temperature
rho, and pressure
P. All other parameter outputs are zero.
extremeAltitude — Geometric altitude
Geometric altitude in kilometers, specified as one of these values.
|Altitude in Kilometers||Altitude in Feet|
action — Action
'Warning' (default) |
Action for out-of-range input, specified as:
'Error'— Displays warning and indicates that the input is out of range.
'Warning'— Displays error and indicates that the input is out of range.
'None'— Does not display warning or error.
specification — Atmosphere model
'310' (default) |
Atmosphere model, specified as one of these values.
T — Temperatures
Temperatures, returned as an m-by-1 array in kelvin. This function interpolates temperature values linearly.
a — Speeds of sound
Speeds of sound, returned as an m-by-1 array in meters per second. This function calculates speed of sound using a perfect gas relationship.
P — Pressures
Pressures, returned as an m-by-1 array in pascal. This function calculates pressure using a perfect gas relationship.
rho — Densities
Densities, returned as an m-by-1 array in kilograms per meter cubed. This function interpolates density values logarithmically.
MIL-STD-210 and MIL-HDBK-310 exclude from consideration climatic data for the region south of 60 degrees S latitude.
This function uses the metric version of data from the MIL-STD-210 and MIL-HDBK-310 specifications, resulting in some inconsistency between the metric and English data. Locations where these inconsistencies occur are within the envelope data for low density, low temperature, high temperature, low pressure, and high pressure. The most noticeable differences occur in these values:
For low-density envelope data with 5% frequency, the density values in metric units are inconsistent at 4 km and 18 km. In addition, the density values in English units are inconsistent at 14 km.
For low-density envelope data with 10% frequency, the density values in metric units are inconsistent at 18 km. In addition, the density values in English units are inconsistent at 14 km.
For low-density envelope data with 20% frequency, the density values in English units are inconsistent at 14 km.
For high-pressure envelope data with 10% frequency, the pressure values at 8 km are inconsistent.
 Global Climatic Data for Developing Military Products (MIL-STD-210C). Washington, DC: Department of Defense January 9, 1987.
 Global Climatic Data for Developing Military Products (MIL-HDBK-310). Washington, DC: Department of Defense, June 23, 1997.