How to find the uncertainty in coefficients estimated from polyfit

8 次查看(过去 30 天)
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!

类别

Help CenterFile Exchange 中查找有关 Interpolation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by