Interpolation
Interpolation is a method of estimating values between known data points. Use interpolation to smooth observed data, fill in missing data, and make predictions. Curve Fitting Toolbox™ functions allow you to perform interpolation by fitting a curve or surface to the data. For more information, seeInterpolation Methods.
To fit an interpolating curve or surface, use theCurve Fitterapp. Fit an interpolating curve or surface at the command line by using thefit
function. For information on choosing an interpolant fit, seeSelecting an Interpolant Fit.
Apps
Curve Fitter | Fit curves and surfaces to data |
Functions
excludedata |
Exclude data from fit |
fit |
Fit curve or surface to data |
fittype |
Fit type for curve and surface fitting |
fitoptions |
Create or modify fit options object |
get |
Get fit options structure property names and values |
set |
Assign values in fit options structure |
feval |
Evaluatecfit ,sfit , orfittype object |
prepareCurveData |
Prepare data inputs for curve fitting |
prepareSurfaceData |
Prepare data inputs for surface fitting |
Topics
- Selecting an Interpolant Fit
Fit interpolant models in the Curve Fitter app or with the
fit
function. - Interpolation Methods
Apply interpolation methods to estimate values between known data points for curves and surfaces.
- Nonparametric Fitting
Perform nonparametric fitting to create smooth curves or surfaces through your data with interpolants and smoothing splines.