variation of pressure with height

Version 1.0.0 (4.52 KB) by VANGAPANDU
pressure varies exponentially with hright if density varies
1 Download
Updated 19 Oct 2025

View License

variation of pressure with height
this matlab script calculates how atmospheric pressure varies with height.
  • computes pressure at different altitudes using standard constants R g P0=presuure at sea level
  • equation used :
p=p0*e^(-mgh/RT)
  • requirements: matlab R2020b 0r later

Cite As

VANGAPANDU (2025). variation of pressure with height (https://uk.mathworks.com/matlabcentral/fileexchange/182354-variation-of-pressure-with-height), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2025b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0