Fit data using curves, surfaces, and nonparametric methods
Data fitting is the process of fitting models to data and analyzing the accuracy of the fit. Engineers and scientists use data fitting techniques, including mathematical equations and nonparametric methods, to model acquired data.
MATLAB® lets you import and visualize your data, and perform basic fitting techniques such as polynomial and spline interpolation. You can perform data fitting interactively using the MATLAB Basic Fitting tool, or programmatically using MATLAB functions for fitting.
MATLAB add-on products extend data fitting capabilities to:
- Fit curves and surfaces to data using the functions and app in Curve Fitting Toolbox™. Several linear, nonlinear, parametric, and nonparametric models are included. You can also define your own custom models.
- Fit N-dimensional data using the linear and nonlinear regression capabilities in Statistics and Machine Learning Toolbox™. You can also use machine learning algorithms for data-driven fitting.
- Perform constrained data fitting where parameters need to satisfy linear or nonlinear constraints with Optimization Toolbox™.
Getting Started
Examples
Software Reference
See also: data analysis, mathematical modeling, smoothing, machine learning, data fiting videos, AutoML