image thumbnail

Polynomial Trendlines

version (2.24 KB) by Peter Curtis
Simply plot multiple polynomial trendlines for a given data set.


Updated 02 Mar 2009

View License

Plots data points and first through sixth degree polynomials. Displays polynomial coefficients and r-squared values in command window. Allows user to choose range. Also allows user to remove trendlines that don't appear to fit.

Cite As

Peter Curtis (2021). Polynomial Trendlines (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired: polyplot

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!