No License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Complete 1976 Standard Atmosphere

4.5 | 10 ratings Rate this file 22 Downloads (last 30 days) File Size: 7.99 KB File ID: #13635 Version: 1.0

Complete 1976 Standard Atmosphere



11 Jan 2007 (Updated )

Calculates Temperature, Pressure, Density, Speed of Sound, Gravity, Dynamic/Kinematic Viscosity, k,

| Watch this File

File Information

This is a complete model of the 1976 US standard atmosphere model with valid data between sea level and 1000 km. This set of functions returns Temperature, Pressure, Density, Speed of Sound, Gravity, Dynamic and Kinematic Viscosity, Coefficient of Thermal Conductivity, Gas Number Density at desired altitudes. Ability to convert to English Units as desired.

Values DO differ by less than 1% due to different integration technique and should be closer to the actual values of the integrals described in the 1976 U.S. Standard Atmosphere

atmo.m-main program

atmo_compo.m-Gas composition for upper atmosphere program

atmo_p.m-Pressure Computation Program

atmo_temp.m-Temperature Computation Prgram

f_n.m-Gas Composition Integral Program

int_tau.m-Tau integral for Hydrogen

tester.m-Runs atmo.m code for complete atmosphere and does plots for each of the variables

Comments and errors are welcome


Standard Atmosphere Calculator inspired this file.

This file inspired Atmos: Standard Atmosphere Function.

MATLAB release MATLAB 7.3 (R2006b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (14)
05 Mar 2014 Chou

Chou (view profile)

26 Nov 2011 B.

B. (view profile)

This code is not entirely correct. On error, among others, is that the author misinterpreted Equation (39) of the original published document on the Standard Atmosphere of 1976. This involves the calculation of the Hydrogen number density. The author oversimplified the equation. Also, the temperature gradient in Equation (28) involves a constant "a" which the author had the wrong sign on.

Comment only
02 Sep 2009 Evan Brooks

Do you have an alternate source or correction for your value of Helium number density @86km? The value in Table 9 looks like 10^10 to me, but you have it in "atmo_compo.m" as 10^14.

Nice submission otherwise, there's a lot you could do to vectorize the computations though.

Comment only
23 Jun 2009 Jonathan Lister

way too slow

Comment only
22 Apr 2008 Yifan Yang

Good simple program. Found an error with output pressure in English units though. The conversion factor (unit_c(5)) used on line 162 in atmo.m should be 3.3852e3 instead of 0.0001450377.

01 Jan 2008 Michael Young

Good program, no errors found for intended use

27 Oct 2007 Brad Hixon

Accuracy is quite high for a simple program. Might suggest adding solar activity

08 Aug 2007 hamed khabiri

08 Aug 2007 hamed khabiri

06 Jun 2007 hossein mortazavi

it was so useful for me.

27 Jan 2007 Jeremy Sparks

Great program for preliminary satellite drag calculations

15 Jan 2007 Richard Rieber

I agree with the other comment. This program is impressive and useful. It does take a long time to run, but its worth it. Excellent download if you need to work with any portion of the atmosphere. Good work!

15 Jan 2007 Chadrick Sewell

Very amazing-Well Written, some programs can be improved for speed but full atmosphere program taking a fraction of time to run and then interpolation commands used. Good job.

BTW, your new version doesn't have any errors with my 6.5 version.

12 Jan 2007 Brent Lewis

May have some compatability problems with previous versions of Matlab. Sends any bugs/errors to

Comment only
11 Jan 2007

Corrected for lower atmosphere calls only

Contact us