| Contents | Index |
cftool
cftool( x, y )
cftool( x, y, z )
cftool( x, y, [], w )
cftool( x, y, z, w )
cftool( filename )
cftool -v1
cftool( '-v1', x, y )
cftool( '-v1', x, y, w )
cftool opens Curve Fitting Tool or brings focus to the tool if it is already open.
cftool( x, y ) creates a curve fit to x input and y output. x and y must be numeric, have two or more elements, and have the same number of elements. cftool opens Curve Fitting Tool if necessary.
cftool( x, y, z ) creates a surface fit to x and y inputs and z output. x, y, and z must be numeric, have two or more elements, and have compatible sizes. Sizes are compatible if x, y, and z all have the same number of elements or x and y are vectors, z is a 2D matrix, length(x ) = n, and length(y) = m where [m,n] = size(z). cftool opens Curve Fitting Tool if necessary.
cftool( x, y, [], w ) creates a curve fit with weights w. w must be numeric and have the same number of elements as x and y.
cftool( x, y, z, w ) creates a surface fit with weights w. w must be numeric and have the same number of elements as z.
cftool( filename ) loads the surface fitting session in filename into Curve Fitting Tool. The filename should have the extension .sfit.
cftool -v1 opens the legacy Curve Fitting Tool.
cftool( '-v1', x, y ) starts the legacy Curve Fitting Tool with an initial data set containing the x and y data you supply. x and y must be numeric vectors having the same length.
cftool( '-v1', x, y, w ) also includes the weight vector w in the initial data set. w must have the same length as x and y.
Infs, NaNs, and imaginary parts of complex numbers are ignored in the data.
Curve Fitting Tool provides a flexible graphical user interface where you can interactively fit curves and surfaces to data and view plots. You can:
Create, plot, and compare multiple fits
Use linear or nonlinear regression, interpolation, local smoothing regression, or custom equations
View goodness-of-fit statistics, display confidence intervals and residuals, remove outliers and assess fits with validation data
Automatically generate code for fitting and plotting surfaces, or export fits to workspace for further analysis
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |