Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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

interp11-D data interpolation (table lookup)
interp2Interpolation for 2-D gridded data in meshgrid format
interp3Interpolation for 3-D gridded data in meshgrid format
interpnInterpolation for 1-D, 2-D, 3-D, and N-D gridded data in ndgrid format
griddedInterpolantGridded data interpolation
pchipPiecewise Cubic Hermite Interpolating Polynomial (PCHIP)
splineCubic spline data interpolation
ppvalEvaluate piecewise polynomial
mkppMake piecewise polynomial
unmkppExtract piecewise polynomial details
padecoefPadé approximation of time delays
interpft1-D interpolation (FFT method)
ndgridRectangular grid in N-D space
meshgrid2-D and 3-D grids
griddataInterpolate 2-D or 3-D scattered data
griddatanInterpolate N-D scattered data
scatteredInterpolantInterpolate 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.

Interpolation of Multiple 1-D Value Sets

This example shows how to interpolate three 1-D data sets in a single pass using griddedInterpolant.

Interpolation of 2-D Selections in 3-D Grids

This example shows how to reduce the dimensionality of the grid plane arrays in 3-D to solve a 2-D interpolation problem.

Resample Image with Gridded Interpolation

This example shows how to use griddedInterpolant to resample the pixels in an image.

Interpolating Scattered Data

Interpolating scattered data using scatteredInterpolant.

Extrapolating Scattered Data

Extrapolating scattered data using scatteredInterpolant.

Normalize Data with Differing Magnitudes

This example shows how to use normalization to improve scattered data interpolation results with griddata.

Interpolation Using a Specific Delaunay Triangulation

Perform nearest-neighbor and linear interpolation on a scattered set of points using a specific Delaunay triangulation.

Was this topic helpful?