How to find the uncertainty in coefficients estimated from polyfit

7 visualizzazioni (ultimi 30 giorni)
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

Risposte (1)

Star Strider
Star Strider il 7 Gen 2015
I’m so happy you asked!
See polyparci in the File Exchange!

Categorie

Scopri di più su Interpolation in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by