Error on the slope when using a least squares fit
조회 수: 3 (최근 30일)
이전 댓글 표시
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
답변 (1개)
Sean de Wolski
2012년 3월 12일
If you have the Statistics Toolbox:
doc regress
And if you have the Statistics Toolbox with R2012a:
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Linear and Nonlinear Regression에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!