Air density calculation

This function calculates the density of the air
4.6K Downloads
Updated 5 Feb 2007

No License

This function calculates the air-density based on the papers:

1)'Equation for the Determination of the Density of Moist Air'
P.Giacomo, Metrologia 18, 33-40 (1982)

2)'Equation for the Determination of the Density of Moist Air'
R.S. Davis Metrologia 29, 67-70 (1992)

Parameters:
t = ambient temperature (ºC)
hr = relative humidity [%]
p = ambient pressure [Pa]

ver 1.0
06/10/2006 Jose Luis Prego Borges
Sensor & System Group, Universitat Politecnica de Catalunya, Spain

Cite As

Jose Luis Prego (2026). Air density calculation (https://www.mathworks.com/matlabcentral/fileexchange/12565-air-density-calculation), MATLAB Central File Exchange. Retrieved .

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

Inspired: Air density calculation 2007

Version Published Release Notes
1.0.0.0

New vectorized version 1.1
Thank's to:
Dr. Richard P. Signell
USGS, 384 Woods Hole Rd.
Woods Hole, MA 02543-1598