How to find the uncertainty in coefficients estimated from polyfit

조회 수: 6 (최근 30일)
Smith J
Smith J 2015년 1월 7일
답변: Star Strider 2015년 1월 7일
I have fitted one degree polynomial(y=mx+c) to my data using polyfit command of matlab . I want to find the uncertainty in the slope and intercept, how to do that ???
I have used [y,delta] = polyval(p,x,S) but here delta gives for uncertainty for every data point not the uncertainty in slope or intercept. Cab some one help in this regard..I got stuck in between my analysis..please help

답변 (1개)

Star Strider
Star Strider 2015년 1월 7일
I’m so happy you asked!
See polyparci in the File Exchange!

Community Treasure Hunt

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

Start Hunting!

Translated by