Polynomial Fitting Tool
R2026bInteractive polynomial fitting
Description
The Polynomial Fitting tool fits a polynomial to two-dimensional data and displays an interactive plot of the result.
You can use the tool to explore the effects of changing the parameters of the fit and to
export fit results to the workspace. The tool displays a plot of a polynomial
p(x) of degree n that is a best fit
(in a least-squares sense) for the data in y. The polynomial
p contains n+1 terms, where
Required Products
MATLAB®
Statistics and Machine Learning Toolbox™
Open the Polynomial Fitting Tool
MATLAB command prompt: Enter
polytool.
Examples
Parameters
Programmatic Use
Tips
Click the Export button to export the fitted parameters, confidence intervals, and fit residuals to the workspace. Adjust the variable names and clear any check boxes in the Export to Workspace dialog box, if necessary.
Version History
Introduced before R2006a
