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

5 次查看(过去 30 天)
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,

采纳的回答

Ahmed A. Selman
Ahmed A. Selman 2013-3-28
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Interpolation 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by