Error on the slope when using a least squares fit

4 vues (au cours des 30 derniers jours)
A
A le 12 Mar 2012
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!

Réponses (1)

Sean de Wolski
Sean de Wolski le 12 Mar 2012
If you have the Statistics Toolbox:
doc regress
And if you have the Statistics Toolbox with R2012a:

Catégories

En savoir plus sur Linear and Nonlinear Regression dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by