Conversion from water pressure to depth
Version 1.0.0 (1.99 KB) by
Gabriel Ruiz-Martinez
Leroy and Parthiot equation is used to the conversion of water pressure to depth. This equation is an alternative to the UNESCO equation.
UNESCO equation to the conversion of water pressure to depth is widely used to oceanographers around the world. However, the Leroy and Parthiot equation (
) considers corrective terms, in function of various areas of the world; with this term, the water depth value reaches a better accuracy.
Inputs:
p = water pressure (in MPa, relative to atmospheric pressure).
lat = latitude of the point (in degrees).
D = number of area of applicability.
Output:
z = water depth (in m).
Example:
z = pre2depth(5,[30,45,60],0)
Reference:
Leroy, C. and Parthiot, F. 1998. Depth-pressure relationships in the oceans and seas. J. Acoust. Soc. Am., 103 (3), 1346-1352 p. DOI: 10.1121/1.421275
Cite As
Gabriel Ruiz-Martinez (2025). Conversion from water pressure to depth (https://www.mathworks.com/matlabcentral/fileexchange/105090-conversion-from-water-pressure-to-depth), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2021b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |