Borrar filtros
Borrar filtros

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

4 visualizaciones (últimos 30 días)
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,

Respuesta aceptada

Ahmed A. Selman
Ahmed A. Selman el 28 de Mzo. de 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.

Más respuestas (0)

Categorías

Más información sobre Interpolation en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by