Azzera filtri
Azzera filtri

How do i interpolate a large matrix of data thats not in ascending order?

5 visualizzazioni (ultimi 30 giorni)
I have a large matrix of data that consists of the first column containing a variety of different depth values, that are not out of ascending order, and the second column contains a number of corresponding salinity values. How would i be able to interpolate the data so that i have a value for every 50 metres? The shallowest depth is 125 metres and the deepest depth is around 1500 metres,

Risposta accettata

Ahmed A. Selman
Ahmed A. Selman il 28 Mar 2013
There are few interpolation techniques in Matlab. You can start with the functions
interp1q % for simple 1-D interpolation, OR
interpft % for 1-D interpolation with Fast Fourier Transform
Simple user tools such as (cftool) - Curve Fitting Tool, may also help finding interpolated data after finding a fitting equation to your physical system.

Più risposte (0)

Categorie

Scopri di più su Interpolation in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by