The following Matlab project contains the source code and Matlab examples used for water salinity from pressure and conductivity of tyhe water.
In order to know the water salinity, the script uses the Fofonnoff and Millard equation.
The inputs are:
- Pressure of the water, db.
- Water conductivity, mS/cm.
- Temperature of the water, ºC.
Generally, these physical variables are measured, using a CTD.