|Dependent variable of |
|Get fit options structure property names and values|
|Independent variable of |
|Determine if |
|Number of input arguments of |
|Number of coefficients of |
|Problem-dependent parameter names of |
|Assign values in fit options structure|
|Set model fit options|
- Introduction to Least-Squares Fitting
Perform least-squares fitting by using error distributions and linear, weighted, robust, and nonlinear least squares.
- Polynomial Models
Fit polynomials in the Curve Fitter app or with the
- Exponential Models
Fit exponential models in the Curve Fitter app or with the
- Fit Fourier Models
Fit Fourier series models in the Curve Fitter app or with the
- Power Series
Fit power series models in the Curve Fitter app or with the
- Rational Models
Fit rational polynomial models in the Curve Fitter app or with the
- Sum of Sines Models
Fit sum of sines models in the Curve Fitter app or with the
- Weibull Distributions
Fit Weibull distribution models in the Curve Fitter app or with the
- Custom Models
If the Curve Fitting Toolbox library does not contain a desired parametric equation, you can create your own custom equation.
- Custom Linear Fitting
In the Curve Fitter app, you can use the Custom Equation fit to define your own linear or nonlinear equations.
- Interactive Curve and Surface Fitting
Select data and model types to fit curves and surfaces by using the Curve Fitter app and then save your session.
- Data Selection
Select data to fit curves and surfaces in Curve Fitter app, identify compatible size data and troubleshoot data problems.
- Compare Fits in Curve Fitter App
Find the best fit by comparing visual and numeric results, including fitted coefficients and goodness-of-fit statistics.
- Surface Fitting to Franke Data
Create and compare surface fits in Curve Fitter app using example data.
- Surface Fitting to Biopharmaceutical Data
Curve Fitting Toolbox software provides some example data for an anesthesia drug interaction study.
- Custom Nonlinear ENSO Data Analysis
This example fits the ENSO data using several custom nonlinear equations.
- Gaussian Fitting with an Exponential Background
This example fits two poorly resolved Gaussian peaks on a decaying exponential background using a general (nonlinear) custom model.
- Curve and Surface Fitting
Workflow for programmatic curve and surface fitting in Curve Fitting Toolbox.
fit函数进行编程数据拟合所需的所有 Curve Fitting Toolbox 库模型名称。
- Curve and Surface Fitting Objects and Object Functions
Learn how to create, access, and modify curve and surface fit objects.
- Polynomial Curve Fitting
This example shows how to fit polynomials up to sixth degree to some census data using Curve Fitting Toolbox.
- Fit Polynomial Model to Data
This example shows how to fit a polynomial model to data using the linear least-squares method.
- Compare Robust Fitting Methods
This example shows how to fit a polynomial model to data using the bisquare weights, least absolute residuals (LAR), and linear least-squares methods.
- Fit Exponential Model to Data
This example shows how to fit an exponential model to data using the trust-region and Levenberg-Marquardt nonlinear least-squares algorithms.
- Improve Model Fit with Weights
This example shows how to fit a polynomial model to data using both the linear least-squares method and the weighted least-squares method for comparison.
- Surface Fitting with Custom Equations to Biopharmaceutical Data
This example shows how to use Curve Fitting Toolbox™ to fit response surfaces to some anesthesia data to analyze drug interaction effects.