cftool weights given errors for y-data

조회 수: 2 (최근 30일)
Giorgio Nissardi
Giorgio Nissardi 2019년 12월 26일
답변: Shubh Sahu 2019년 12월 30일
matlabproblem.PNGI am using cftool for some exponential fits. I have errors for every y-data of my fit. How can I calculate the weights for a weighted fit using these errors? I was thinking that the weight is something like the inverse of the error but to be completly onest I don't know exatly what cftool requires as a weight to do a good fit

채택된 답변

Shubh Sahu
Shubh Sahu 2019년 12월 30일
In the first iteration fit your data with given method you want. Then calclaute weights by reciprocating residue and save that weights in workspace, the more the residue the less will be weights. In next iteration that weights will help you to get good fit.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Curve Fitting Toolbox에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by