Error on the slope when using a least squares fit

Hello,
I am fitting a slope to data points using least squares fit (polyfit), but I also need to know the error on the slope returned by this function. Does anyone have a handy way of doing this?
Thanks!

Antworten (1)

Sean de Wolski
Sean de Wolski am 12 Mär. 2012

0 Stimmen

If you have the Statistics Toolbox:
doc regress
And if you have the Statistics Toolbox with R2012a:

Kategorien

Mehr zu Get Started with Curve Fitting Toolbox finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

A
A
am 12 Mär. 2012

Community Treasure Hunt

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

Start Hunting!

Translated by