File Exchange

image thumbnail

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.

8 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 (2021). 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 .

Comments and Ratings (0)

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!