Seawater density from salinity, temperature and pressure
Version 1.0.0 (1.86 KB) by
Gabriel Ruiz-Martinez
From practical salinity, temperature and pressure values, the seawater density is computed.
This function computes the seawater density (kg/m3).
Inputs:
S = practical salinity (psu).
T = temperature (ºC).
p = pressure (bars).
Outputs:
rho = seawater density (kg/m3).
rhodif = seawater density difference (kg/m3).
Cite As
Gabriel Ruiz-Martinez (2024). Seawater density from salinity, temperature and pressure (https://www.mathworks.com/matlabcentral/fileexchange/85900-seawater-density-from-salinity-temperature-and-pressure), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2020b
Compatible with R2008b to R2020b
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 |