| Contents | Index |
| On this page… |
|---|
Curve Fitting Toolbox™ provides graphical tools and command-line functions for fitting curves and surfaces to data. The toolbox lets you perform exploratory data analysis, preprocess and post-process data, compare candidate models, and remove outliers. You can conduct regression analysis using the library of linear and nonlinear models provided or specify your own custom equations. The library provides optimized solver parameters and starting conditions to improve the quality of your fits. The toolbox also supports nonparametric modeling techniques, such as splines, interpolation, and smoothing.
After creating a fit, you can apply a variety of post-processing methods for plotting, interpolation and extrapolation; estimating confidence intervals; and calculating integrals and derivatives.
Graphical tools for curve and surface fitting
Linear and nonlinear regression with custom equations
Library of regression models with optimized starting points and solver parameters
Interpolation methods, including B-splines, thin plate splines, and tensor-product splines
Smoothing techniques, including smoothing splines, localized regression, Savitsky-Golay filters, and moving averages
Preprocessing routines, including outlier removal and sectioning, scaling, and weighting data
Post-processing routines, including interpolation, extrapolation, confidence intervals, integrals and derivatives
Curve Fitting Toolbox software allows you to work in two different environments:
An interactive environment, with Curve Fitting Tool and Spline Tool graphical user interfaces
A programmatic environment that allows you to write object-oriented MATLAB® code using curve and surface fitting methods
To open Curve Fitting Tool or Spline Tool, enter one of the following:
cftool
splinetool
To list the Curve Fitting Toolbox functions for use in MATLAB programming, type
help curvefit
The code for any function can be opened in the MATLAB Editor by typing
edit function_name
Brief, command line help for any function is available by typing
help function_name
Complete documentation for any function is available by typing
doc function_name
You can change the way any toolbox function works by copying and renaming its file, examining your copy in the editor, and then modifying it.
You can also extend the toolbox by adding your own files, or by using your code in combination with functions from other toolboxes, such as Statistics Toolbox™ or Optimization Toolbox™ software.
![]() | Getting Started | Curve Fitting | ![]() |
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |