Skip to Main Content Skip to Search
Product Documentation

Function Reference


Interactive FittingInteractive curve and surface fitting.
Linear and Nonlinear RegressionParametric fitting to data with linear and nonlinear library models and custom models.
InterpolationNonparametric curve and surface fitting, create curves or surfaces through your data with interpolants, estimate values between known data points.
SmoothingNonparametric curve and surface fitting, data smoothing, create smooth curves or surfaces through your data with smoothing splines.
Fit PostprocessingPlot, integrate, or differentiate fits, exclude outliers, calculate confidence and prediction intervals, generate code and export to workspace.
Splines

Interactive Fitting

cftoolOpen Curve Fitting Tool

Linear and Nonlinear Regression

argnames Input argument names of cfit, sfit, or fittype object
categoryCategory of fit of cfit, sfit, or fittype object
cflibhelpInformation on library models
cftoolOpen Curve Fitting Tool
coeffnamesCoefficient names of cfit, sfit, or fittype object
dependnamesDependent variable of cfit, sfit, or fittype object
fevalEvaluate cfit, sfit, or fittype object
fitFit curve or surface to data
fitoptionsCreate or modify fit options structure
fittypeFit type for curve and surface fitting
formulaFormula of cfit, sfit, or fittype object
getGet fit options structure property names and values
indepnamesIndependent variable of cfit, sfit, or fittype object
islinearDetermine if cfit, sfit, or fittype object is linear
numargsNumber of input arguments of cfit, sfit, or fittype object
numcoeffsNumber of coefficients of cfit, sfit, or fittype object
probnamesProblem-dependent parameter names of cfit, sfit, or fittype object
setAssign values in fit options structure
setoptions Set model fit options
typeName of cfit, sfit, or fittype object

Interpolation

cftoolOpen Curve Fitting Tool
fevalEvaluate cfit, sfit, or fittype object
fitFit curve or surface to data
fittypeFit type for curve and surface fitting

Smoothing

cftoolOpen Curve Fitting Tool
fitFit curve or surface to data
fitoptionsCreate or modify fit options structure
fittypeFit type for curve and surface fitting
getGet fit options structure property names and values
setAssign values in fit options structure
smoothSmooth response data

Fit Postprocessing

cfitConstructor for cfit object
cftoolOpen Curve Fitting Tool
coeffvaluesCoefficient values of cfit or sfit, object
confintConfidence intervals for fit coefficients of cfit or sfit object
differentiateDifferentiate cfit or sfit object
excludedataExclude data from fit
fevalEvaluate cfit, sfit, or fittype object
fitoptionsCreate or modify fit options structure
getGet fit options structure property names and values
integrateIntegrate cfit object
plotPlot cfit or sfit object
predintPrediction intervals for cfit or sfit object
prepareSurfaceDataPrepare data inputs for surface fitting
probvaluesProblem-dependent parameter values of cfit or sfit object
quad2dNumerically integrate sfit object
setAssign values in fit options structure
sfitConstructor for sfit object

Splines

Spline Construction

csapeCubic spline interpolation with end conditions
csapiCubic spline interpolation
csapsCubic smoothing spline
cscvn"Natural" or periodic interpolating cubic spline curve
getcurveInteractive creation of cubic spline curve
ppmakPut together spline in ppform
rpmakPut together rational spline
rscvnPiecewise biarc Hermite interpolation
rsmakPut together rational spline for standard geometric shapes
spap2Least-squares spline approximation
spapiSpline interpolation
spapsSmoothing spline
spcrv Spline curve by uniform subdivision
splinetoolExperiment with some spline approximation methods
spmak Put together spline in B-form
stmakPut together function in stform
tpapsThin-plate smoothing spline

Spline Postprocessing

fn2fmConvert to specified form
fnbrkName and part(s) of form
fnchgChange part(s) of form
fncmbArithmetic with function(s)
fnderDifferentiate function
fndirDirectional derivative of function
fnintIntegrate function
fnjmpJumps, i.e., f(x+)-f(x-)
fnminMinimum of function in given interval
fnpltPlot function
fnrfnRefine partition of form
fntlrTaylor coefficients or polynomial
fnvalEvaluate function
fnxtrExtrapolate function
fnzerosFind zeros of function in given interval

Spline Breaks, Knots, and Sites

aptkntAcceptable knot sequence
augkntAugment knot sequence
avekntProvide knot averages
brk2kntConvert breaks with multiplicities into knots
chbpntGood data sites, Chebyshev-Demko points
knt2brk, knt2mltConvert knots to breaks and their multiplicities
newkntNew break distribution
optkntKnot distribution "optimal" for interpolation
sortedLocate sites with respect to mesh sites

Spline Utilities

bkbrkPart(s) of almost block-diagonal matrix
bsplinePlot B-spline and its polynomial pieces
frankeFranke's bivariate test function
slvblkSolve almost block-diagonal linear system
spcol B-spline collocation matrix
splpp, sprppTaylor coefficients from local B-coefficients
sptermsExplain spline terms
stcolScattered translates collocation matrix
subplusPositive part
titaniumTitanium test data
  


 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS