Main Content

Interpolation

Gridded and scattered data interpolation, data gridding, piecewise polynomials

Interpolation is a technique for adding new data points within a range of a set of known data points. You can use interpolation to fill-in missing data, smooth existing data, make predictions, and more. Interpolation in MATLAB®is divided into techniques for data points on a grid and scattered data points.

Functions

expand all

interp1 1-D data interpolation (table lookup)
interp2 Interpolation for 2-D gridded data in meshgrid format
interp3 三维网格数据插值meshgridmat
interpn Interpolation for 1-D, 2-D, 3-D, and N-D gridded data in ndgrid format
griddedInterpolant Gridded data interpolation
pchip Piecewise Cubic Hermite Interpolating Polynomial (PCHIP)
makima Modified Akima piecewise cubic Hermite interpolation
spline Cubic spline data interpolation
ppval Evaluate piecewise polynomial
mkpp Make piecewise polynomial
unmkpp Extract piecewise polynomial details
padecoef Padé approximation of time delays
interpft 1-D interpolation (FFT method)
ndgrid Rectangular grid in N-D space
meshgrid 2-D and 3-D grids
griddata Interpolate 2-D or 3-D scattered data
griddatan Interpolate N-D scattered data
scatteredInterpolant Interpolate 2-D or 3-D scattered data

Topics

Gridded and Scattered Sample Data

Introduction to interpolating gridded and scattered data sets.

Interpolating Gridded Data

Interpolation of regularly spaced, axis-aligned data sets.

Interpolating Scattered Data

Interpolating scattered data usingscatteredInterpolant.

Featured Examples