Density altitude calculator

Finds altitude in the atmosphere as a function of air density.
1.3K Downloads
Updated 3 Jul 2017

View License

Merged with other entry at http://www.mathworks.com/matlabcentral/fileexchange/28135-standard-atmosphere-functions
This entry will not be kept up to date.

H = DENSITYALT(RHO,Param1,Val1,Param2,Val2,...) returns altitude, H, as a function of air density, RHO.
The input RHO can be followed by parameter/value pairs for further control:
inputUnits - String for units of input RHO, either kg/m³ or slug/ft³.
outputUnits - String for units of output H, either meters or feet.
atmosphereFunc - String determining atmosphere function to be used ( stdatmo | atmosisa | atmoscoesa | atmosnonstd ).
atmosphereArgs - Cell array of additional arguments to pass to atmosphereFunction after the density input (e.g. for non-standard atmospheres).
method - Method used for either searching for (with fzero or bisection) or interpolating a solution (the equations that define the standard atmosphere cannot be inverted in terms of density).
options - Options used for fzero or bisection methods.
and others.

Cite As

Sky Sartorius (2024). Density altitude calculator (https://www.mathworks.com/matlabcentral/fileexchange/39325-density-altitude-calculator), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Environmental Models in Help Center and MATLAB Answers
Acknowledgements

Inspired by: Standard Atmosphere Functions

Inspired: Standard Atmosphere Functions

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
2.1.0.0

Merged with other entry at http://www.mathworks.com/matlabcentral/fileexchange/28135-standard-atmosphere-functions
This entry will not be kept up to date.
New default atmosphere model, atmos.

2.0.0.0

Big rev: new input scheme and solution scheme using inputParser. New
documentation and example.

1.2.0.0

new method input, possibility, clean-up, example added, etc.

1.1.0.0

small documentation changes

1.0.0.0