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!