How to fit an exponential curve with known error bars
1 回表示 (過去 30 日間)
古いコメントを表示
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];
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Interpolation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!