Biexponential fit help?

10 visualizzazioni (ultimi 30 giorni)
Vartika Kumar
Vartika Kumar il 20 Lug 2021
Risposto: Swetha Polemoni il 23 Lug 2021
So I generated a decay of some data using this code, and the decay works! But now I am trying to fit it into a biexponential fit. I have this code, but it is not working for some reason. Does anybody know what I should do?
Decay code (works):
a=Data{1,1};
decay=get(a,'decay');
Biexponential fit code (does not work):
ft = fittype('exp2');
ft(a,b,t1,t2,x) = a*exp(b*x) + t1*exp(t2*x);

Risposte (1)

Swetha Polemoni
Swetha Polemoni il 23 Lug 2021
Hi,
The following answer might help you.

Categorie

Scopri di più su Statistics and Machine Learning 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!

Translated by