cftool weights given errors for y-data
9 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Giorgio Nissardi
il 26 Dic 2019
Risposto: Shubh Sahu
il 30 Dic 2019
I 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 fit0 Commenti
Risposta accettata
Shubh Sahu
il 30 Dic 2019
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 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Get Started with Curve Fitting Toolbox 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!