| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Aerospace Toolbox |
| Contents | Index |
| Learn more about Aerospace Toolbox |
[T rho]
= atmosnrlmsise00(altitude, latitude, longitude, year, dayOfYear, UTseconds)
[T rho]
= atmosnrlmsise00(altitude, latitude, longitude, year, dayOfYear, UTseconds, localApparentSolarTime)
[T rho]
= atmosnrlmsise00(altitude, latitude, longitude, year, dayOfYear, UTseconds, f107Average, f107Daily, magneticIndex)
[T rho]
= atmosnrlmsise00(altitude, latitude, longitude, year, dayOfYear, UTseconds, flags)
[T rho]
= atmosnrlmsise00(altitude, latitude, longitude, year, dayOfYear, UTseconds, otype)
[T rho]
= atmosnrlmsise00(altitude, latitude, longitude, year, dayOfYear, UTseconds, action)
[T rho] = atmosnrlmsise00(altitude, latitude, longitude, year, dayOfYear, UTseconds) implements the mathematical representation of the 2001 United States Naval Research Laboratory Mass Spectrometer and Incoherent Scatter Radar Exosphere (NRLMSISE-00). NRLMSISE-00 calculates the neutral atmosphere empirical model from the surface to lower exosphere (0 m to 1,000,000 m). Optionally, it performs this calculation including contributions from anomalous oxygen that can affect satellite drag above 500,000 m.
[T rho] = atmosnrlmsise00(altitude, latitude, longitude, year, dayOfYear, UTseconds, localApparentSolarTime) specifies an array of m local apparent solar time (hours).
[T rho] = atmosnrlmsise00(altitude, latitude, longitude, year, dayOfYear, UTseconds, f107Average, f107Daily, magneticIndex) specifies arrays of m 81 day average of F10.7 flux (centered on doy), m-by-1 daily F10.7 flux for previous day, and m-by-7 of magnetic index information.
[T rho] = atmosnrlmsise00(altitude, latitude, longitude, year, dayOfYear, UTseconds, flags) specifies an array of 23 to enable or disable particular variations for the outputs.
[T rho] = atmosnrlmsise00(altitude, latitude, longitude, year, dayOfYear, UTseconds, otype) specifies a string for total mass density output.
[T rho] = atmosnrlmsise00(altitude, latitude, longitude, year, dayOfYear, UTseconds, action) specifies out-of-range input action.
This function has the limitations of the NRLMSISE-00 model. For more information, see the NRLMSISE-00 model documentation.
The NRLMSISE-00 model uses UTseconds, localApparentSolarTime, and longitude independently. These arguments are not of equal importance for every situation. For the most physically realistic calculation, choose these three variables to be consistent by default:
localApparentSolarTime = UTseconds/3600 + longitude/15
If available, you can include departures from this equation for localApparentSolarTime, but they are of minor importance.
action |
String that defines action for out-of-range input. Specify one:
| ||||||||||||||||||||||||||||||||||||||||||||||||
altitude |
Array of m-by-1 altitudes, in meters. | ||||||||||||||||||||||||||||||||||||||||||||||||
dayOfYear |
Array m-by-1 day of year. | ||||||||||||||||||||||||||||||||||||||||||||||||
f107Average |
Array of m-by-1 81 day average of F10.7 flux (centered on day of year (dayOfYear)). If you specifyf107Average, you must also specify f107Daily and magneticIndex. The effects of f107Average are not large or established below 80,000 m; therefore, the default value is 150. These f107Average values correspond to the 10.7 cm radio flux at the actual distance of the Earth from the Sun. The f107Average values do not correspond to the radio flux at 1 AU. The following site provides both classes of values: ftp://ftp.ngdc.noaa.gov/STP/SOLAR_DATA/SOLAR_RADIO/FLUX/ See the limitations in Description for more information. | ||||||||||||||||||||||||||||||||||||||||||||||||
f107Daily |
Array of m-by-1 daily F10.7 flux for previous day. If you specify f107Daily, you must also specify f107Average and magneticIndex. The effects of f107Daily are not large or established below 80,000 m; therefore, the default value is 150. These f107Daily values correspond to the 10.7 cm radio flux at the actual distance of the Earth from the Sun. The f107Daily values do not correspond to the radio flux at 1 AU. The following site provides both classes of values: ftp://ftp.ngdc.noaa.gov/STP/SOLAR_DATA/SOLAR_RADIO/FLUX/ See the limitations in Description for more information. | ||||||||||||||||||||||||||||||||||||||||||||||||
flags |
Array of 23 to enable or disable particular variations for the outputs. If flags array length, m, is 23 and you have not specified all available inputs, this function assumes that flags is set. The flags, associated with the flags input, enable or disable particular variations for the outputs:
| ||||||||||||||||||||||||||||||||||||||||||||||||
latitude |
Array of m-by-1 geodetic latitudes, in meters. | ||||||||||||||||||||||||||||||||||||||||||||||||
longitude |
Array of m-by-1 longitudes, in degrees. | ||||||||||||||||||||||||||||||||||||||||||||||||
localApparentSolarTime |
Array of m-by-1 local apparent solar time (hours). To obtain a physically realistic value, the function sets localApparentSolarTime to (sec/3600 + lon/15) by default. See Description for more information. | ||||||||||||||||||||||||||||||||||||||||||||||||
magneticIndex |
An array of m-by-7 of magnetic index information. If you specify magneticIndex, you must also specify f107Average and f107Daily. This information consists of:
The effects of daily magnetic index are not large or established below 80,000 m. As a result, the function sets the default value to 4. See the limitations in Description for more information. | ||||||||||||||||||||||||||||||||||||||||||||||||
otype |
String for total mass density output:
| ||||||||||||||||||||||||||||||||||||||||||||||||
UTseconds |
Array of m-by-1 seconds in day in universal time (UT) | ||||||||||||||||||||||||||||||||||||||||||||||||
year |
This function ignores the value of year. |
T |
Array of N-by-2 values of temperature, in kelvin. The first column is exospheric temperature, in kelvin. The second column is temperature at altitude, in kelvin. | |||||||||
rho |
An array of N-by-9 values of densities (kg/m3 or 1/m3) in selected density units. The column order is:
density(6), total mass density, is the sum of the mass densities of He, O, N2, O2, Ar, H, and N. Optionally, density(6) can include the mass density of anomalous oxygen making density(6), the effective total mass density for drag. |
Calculate the temperatures, densities not including anomalous oxygen using the NRLMSISE-00 model at 10,000 m, 45 degrees latitude, -50 degrees longitude. This calculation uses the date January 4, 2007 at 0 UT. It uses default values for flux, magnetic index data, and local solar time with out-of-range actions generating warnings:
[T rho] = atmosnrlmsise00( 10000, 45, -50, 2007, 4, 0)
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
>> [T rho] = atmosnrlmsise00( 10000, 45, -50, 2007, 4, 0)
T =
1.0e+003 *
1.0273 0.2212
rho =
1.0e+024 *
0.0000 0 6.6824 1.7927 0.0799 0.0000 0 0 0Calculate the temperatures, densities not including anomalous oxygen using the NRLMSISE-00 model. Use the model at 10,000 m, 45 degrees latitude, –50 degrees longitude and 25,000 m, 47 degrees latitude, –55 degrees longitude.
This calculation uses the date January 4, 2007 at 0 UT. It uses default values for flux, magnetic index data, and local solar time with out-of-range actions generating warnings:
[T rho] = atmosnrlmsise00( [10000; 25000], [45; 47], ...
[-50; -55], [2007; 2007], [4; 4], [0; 0])
[-50; -55], [2007; 2007], [4; 4], [0; 0])
T =
1.0e+003 *
1.0273 0.2212
1.0273 0.2116
rho =
1.0e+024 *
0.0000 0 6.6824 1.7927 0.0799 0.0000 0 0 0
0.0000 0 0.6347 0.1703 0.0076 0.0000 0 0 0Calculate the temperatures, densities including anomalous oxygen using the NRLMSISE-00 model at 10,000 m, 45 degrees latitude, –50 degrees longitude. This calculation uses the date January 4, 2007 at 0 UT. It uses default values for flux, magnetic index data, and local solar time with out-of-range actions generating errors:
[T rho] = atmosnrlmsise00( 10000, 45, -50, 2007, ...
4, 0, 'Oxygen', 'Error')
T =
1.0e+003 *
1.0273 0.2212
rho =
1.0e+024 *
0.0000 0 6.6824 1.7927 0.0799 0.0000 0 0 0Calculate the temperatures, densities including anomalous oxygen using the NRLMSISE-00 model at 100,000 m, 45 degrees latitude, –50 degrees longitude. This calculation uses the date January 4, 2007 at 0 UT. It uses defined values for flux, and magnetic index data, and default local solar time. It specifies that the out-of-range action is to generate no message:
aph = [17.375 15 20 15 27 (32+22+15+22+9+18+12+15)/8 (39+27+9+32+39+9+7+12)/8]
f107 = 87.7
nov_6days = [ 78.6 78.2 82.4 85.5 85.0 84.1]
dec_31daymean = 84.5
jan_31daymean = 83.5
feb_13days = [ 89.9 90.3 87.3 83.7 83.0 81.9 82.0 78.4 76.7 75.9 74.7 73.6 72.7]
f107a = (sum(nov_6days) + sum(feb_13days) + (dec_31daymean + jan_31daymean)*31)/81
flags = ones(1,23)
flags(9) = -1
[T rho] = atmosnrlmsise00( 100000, 45, -50, 2007, 4, 0, f107a, f107, ...
aph, flags, 'Oxygen', 'None')
aph =
17.3750 15.0000 20.0000 15.0000 27.0000 18.1250 21.7500
f107 =
87.7000
nov_6days =
78.6000 78.2000 82.4000 85.5000 85.0000 84.1000
dec_31daymean =
84.5000
jan_31daymean =
83.5000
feb_13days =
Columns 1 through 10
89.9000 90.3000 87.3000 83.7000 83.0000 81.9000 82.0000 78.4000 76.7000 75.9000
Columns 11 through 13
74.7000 73.6000 72.7000
f107a =
83.3568
flags =
Columns 1 through 17
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Columns 18 through 23
1 1 1 1 1 1
flags =
Columns 1 through 17
1 1 1 1 1 1 1 1 -1 1 1 1 1 1 1 1 1
Columns 18 through 23
1 1 1 1 1 1
T =
1.0e+003 *
1.0273 0.1917
rho =
1.0e+018 *
0.0001 0.4241 7.8432 1.9721 0.0808 0.0000 0.0000 0.0000 0.0000http://ccmc.gsfc.nasa.gov/modelweb/atmos/nrlmsise00.html
![]() | atmosnonstd | atmospalt | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |