How to fit an exponential curve with known error bars

2 vues (au cours des 30 derniers jours)
virkuz000
virkuz000 le 18 Déc 2019
I have some data (x,T) that can be fitted by an exponential curve, and I have error bars for my T values. I need to find a fitted exponential slope and report a slope error as well, taking the T error bars into account. This comment (https://www.mathworks.com/matlabcentral/answers/447185-how-to-do-curve-fitting-on-a-data-set-with-errors-associated-to-each-data-point-y-y#answer_362893) suggests a fmincon method, but then says that exponential expressions may require a different method without suggesting what it may be. Are there any MATLAB functions that would be most appropriate, or will this require custom coding? If the latter, any good methods for me to follow? Thanks!
Data:
x = [0.272; 0.706; 1.128; 1.508; 2.146];
T = [0.243113773; 0.101265823; 0.06343949; 0.0355; 0.015083799];
Terr = [ T+0.05.*T, T-0.05*T];

Réponses (0)

Catégories

En savoir plus sur Fit Postprocessing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by