PolyFitPlot(x,y,n)
Version 1.0.0.0 (560 Bytes) by
Ruggero G. Bettinardi
compute and plot the n-th order polynomial fit
call:
PolyFitPlot(x,y,n)
Given two vectors 'x' and 'y', the function compute and plot the n-th
order polynomial fit.
Note: This function calls 'getPolyFit.m' (see FileExchange)
INPUT
x : independent variable
y : dependent variable
n : order of the polynomial to fit
Cite As
Ruggero G. Bettinardi (2026). PolyFitPlot(x,y,n) (https://uk.mathworks.com/matlabcentral/fileexchange/62951-polyfitplot-x-y-n), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2009a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Mathematics > Elementary Math > Polynomials >
Find more on Polynomials in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
