How could I put FIT parameters' errors in a variable?
11 次查看(过去 30 天)
显示 更早的评论
Hi, i know that I could do:
fuz=fittype('(a*x)/(1+b*(x^2))');
d=fit((final(:,8)),(final(:,6)),fuz,'StartPoint',[r1,s1]);
coeffi=coeffnames(fuz);
coefvv=coeffvalues(d);
g=coefvv'
and in g(1) there's the value of a and in g(2) the value of b.
But if I do:
fuz=fittype('(a*x)/(1+b*(x^2))');
[val1,val2,val3]=fit((final(:,8)),(final(:,6)),fuz,'StartPoint',[r1,s1]);
disp(val1);
I have also the error bars on the parameters...How could I put them into variables?
采纳的回答
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Measurements and Feature Extraction 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!