Main Content


Fit interpolating curves or surfaces, estimate values between known data points

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.

To interactively fit an interpolating curve or surface, use the Curve Fitter app. Fit an interpolating curve or surface at the command line by using the fit function. For more information, see Interpolation with Curve Fitting Toolbox.


Curve FitterFit curves and surfaces to data


excludedataExclude data from fit
fitFit curve or surface to data
fittypeFit type for curve and surface fitting
fitoptionsCreate or modify fit options object
getGet fit options structure property names and values
setAssign values in fit options structure
fevalEvaluate cfit, sfit, or fittype object
prepareCurveData Prepare data inputs for curve fitting
prepareSurfaceDataPrepare data inputs for surface fitting