Curve Fitting Toolbox
Product Description
- Introduction and Key Features
- Working with Curve Fitting Toolbox
- Regression
- Splines and Interpolation
- Smoothing
- Previewing and Preprocessing Data
- Developing, Comparing, and Managing Models
- Postprocessing Analysis
Regression
Curve Fitting Toolbox supports linear and nonlinear regression.
Linear Regression
The toolbox supports over 100 regression models, including:
- Lines and planes
- High order polynomials (up to ninth degree for curves and fifth degree for surfaces)
- Fourier and power series
- Gaussians
- Weibull functions
- Exponentials
- Rational functions
- Sum of sines
All of these standard regression models include optimized solver parameters and starting conditions to improve fit quality. Alternatively, you can use the Custom Equation option to specify your own regression model.
In the GUIs you can generate fits based on complicated parametric models by using a drop-down menu. At the command line you can access the same models using intuitive names.
Nonlinear regression using a second-order Fourier series. You can pass the argument “fourier2” to the fit command (top, left) or select a second-order Fourier series in the Fit Editor (top, right).
Surface generated using the Custom Equation option of the Surface Fitting Tool. You can specify a custom equation or input a MATLAB function.
The regression analysis options in Curve Fitting Toolbox enable you to:
- Choose between two types of robust regression: bisquare or least absolute residual
- Specify starting conditions for the solvers
- Constrain regression coefficients
- Choose Trust-Region or Levenberg-Marquardt algorithms

Free Curve Fitting and Statistics Interactive Kit
Learn how to explore, analyze, model, and visualize your data quickly and efficiently.
Get free kit


