PolyFitPlot(x,y,n)

compute and plot the n-th order polynomial fit
24 Downloads
Updated 15 May 2017

View License

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 Linux
Categories
Find more on Polynomials in Help Center and MATLAB Answers
Tags Add Tags
Version Published Release Notes
1.0.0.0