Seawater density from salinity, temperature and pressure

From practical salinity, temperature and pressure values, the seawater density is computed.
904 Downloads
Updated 18 Jan 2021

View License

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 Linux

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