Fit curves and surfaces to data
The Curve Fitting app provides a flexible 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, smoothing, and custom equations.
View goodness-of-fit statistics, display confidence intervals and residuals, remove outliers and assess fits with validation data.
Automatically generate code to fit and plot curves and surfaces, or export fits to the workspace for further analysis.
MATLAB® Toolstrip: On the Apps tab, under Math, Statistics and Optimization, click the app icon.
MATLAB command prompt: Enter cftool
.