Error on the slope when using a least squares fit
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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!
0 comentarios
Respuestas (1)
Sean de Wolski
el 12 de Mzo. de 2012
If you have the Statistics Toolbox:
doc regress
And if you have the Statistics Toolbox with R2012a:
0 comentarios
Ver también
Categorías
Más información sobre Linear and Nonlinear Regression en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!