File Exchange

image thumbnail

Density altitude calculator

version 2.1.0.0 (8.63 KB) by Sky Sartorius
Finds altitude in the atmosphere as a function of air density.

5 Downloads

Updated 03 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 (2020). Density altitude calculator (https://www.mathworks.com/matlabcentral/fileexchange/39325-density-altitude-calculator), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

Updates

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.

2.1.0.0

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

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: Standard Atmosphere Functions

Inspired: Standard Atmosphere Functions