Errors for the slope and intercept
Ältere Kommentare anzeigen
How can I get the uncertainty for the slope and intercept when using this code
Const = polyfit(log10(x),log10(y), 1);
m = Const(1);
k = Const(2);
b_fit = (10^k) * (x.^m4);
Antworten (2)
Walter Roberson
am 3 Dez. 2018
0 Stimmen
use the two output form of polyfit and the two output form of polyval
3 Kommentare
Walter Roberson
am 3 Dez. 2018
is the error to be estimated in log10 space or original space ?
Marisabel Gonzalez
am 3 Dez. 2018
Walter Roberson
am 3 Dez. 2018
okay so when you call polyval pass in log10 of the x locations and the second output will reflect that log space .
Star Strider
am 3 Dez. 2018
0 Stimmen
Kategorien
Mehr zu Get Started with Curve Fitting Toolbox finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!