Fitting exponential decay data in MATLAB

2 replies · 4K views · last reply
Synesthesia
Messages
12
Reaction score
0
Hello all,

How do people generally fit data in Matlab? I am trying to fit an exponential decay and it doesn't look straightforward. I am looking this up at the moment, but maybe people can give me good answers or starting points here.

Thank you!
 
I usually use polyfit with the appropriate logarithms.