find_cond_advance
Salinity spiking in CTD data is caused by non-simultaneous sampling of conductivity and temperature.
find_cond_advance.m finds the best advance of conductivity relative to temperature to compensate for non-simultaneous sampling and thus minimise salinity spiking. The salinity calculated using this best advance value is also returned.
A .mat file of sample data is included in the package.
Example:
load('fca_demodata.mat');
[bestAdv,bestSal,advances,goodness,binIndex] = find_cond_advance(t,c,p,-4,4);
Cite As
Kevin Bartlett (2024). find_cond_advance (https://www.mathworks.com/matlabcentral/fileexchange/21660-find_cond_advance), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
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.0 |