Products & Services Solutions Academia Support User Community Company

Learn more about Curve Fitting Toolbox   

Function Reference


Fitting Curves and Surfaces
Fitting Splines

Fitting Curves and Surfaces

Data Preprocessing

cftoolOpen Curve Fitting Tool
excludedataExclude data from fit
smoothSmooth response data

Data Fitting

cftoolOpen Curve Fitting Tool
fitFit model to data
fitoptionsCreate or modify fit options structure
fittypeConstructor for fittype object
getGet fit options structure property names and values
prepareSurfaceDataPrepare data inputs for surface fitting
setAssign values in fit options structure
sftoolOpen Surface Fitting Tool

Fit Type Methods

argnames Input argument names of cfit, sfit, or fittype object
categoryCategory of fit of cfit, sfit, or fittype object
coeffnamesCoefficient names of cfit, sfit, or fittype object
dependnamesDependent variable of cfit, sfit, or fittype object
fevalEvaluate cfit, sfit, or fittype object
fittypeConstructor for fittype object
formulaFormula of cfit, sfit, or fittype object
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
setoptions Set model fit options
typeName of cfit, sfit, or fittype object

Curve Fit Methods

argnames Input argument names of cfit, sfit, or fittype object
categoryCategory of fit of cfit, sfit, or fittype object
cfitConstructor for cfit object
coeffnamesCoefficient names of cfit, sfit, or fittype object
coeffvaluesCoefficient values of cfit or sfit, object
confintConfidence intervals for fit coefficients of cfit or sfit object
dependnamesDependent variable of cfit, sfit, or fittype object
differentiateDifferentiate cfit or sfit object
fevalEvaluate cfit, sfit, or fittype object
formulaFormula of cfit, sfit, or fittype object
indepnamesIndependent variable of cfit, sfit, or fittype object
integrateIntegrate cfit 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
plotPlot cfit or sfit object
predintPrediction intervals for cfit or sfit object
probnamesProblem-dependent parameter names of cfit, sfit, or fittype object
probvaluesProblem-dependent parameter values of cfit or sfit object
setoptions Set model fit options
typeName of cfit, sfit, or fittype object

Surface Fit Methods

argnames Input argument names of cfit, sfit, or fittype object
categoryCategory of fit of cfit, sfit, or fittype object
coeffnamesCoefficient names of cfit, sfit, or fittype object
coeffvaluesCoefficient values of cfit or sfit, object
confintConfidence intervals for fit coefficients of cfit or sfit object
dependnamesDependent variable of cfit, sfit, or fittype object
differentiateDifferentiate cfit or sfit object
fevalEvaluate cfit, sfit, or fittype object
formulaFormula of cfit, sfit, or fittype object
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
plotPlot cfit or sfit object
predintPrediction intervals for cfit or sfit object
probnamesProblem-dependent parameter names of cfit, sfit, or fittype object
probvaluesProblem-dependent parameter values of cfit or sfit object
quad2dNumerically integrate sfit object
setoptions Set model fit options
sfitConstructor for sfit object
typeName of cfit, sfit, or fittype object

Fit Postprocessing

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
fevalEvaluate cfit, sfit, or fittype object
integrateIntegrate cfit object
plotPlot cfit or sfit object
predintPrediction intervals for cfit or sfit object
probvaluesProblem-dependent parameter values of cfit or sfit object

Information and Help

cflibhelpInformation on library models
datastatsData statistics

Fitting Splines

Spline GUI Access

bspliguiExperiment with B-spline as function of its knots
splinetoolExperiment with some spline approximation methods

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
spmak Put together spline in B-form
stmakPut together function in stform
tpapsThin-plate smoothing spline

Spline Operators

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-2010- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS