Try the following:
ft=fittype('exp1'); cf=fit(time,data,ft)
This is when time and data are your data vectors; time is an independent variable, and data is a dependent variable.
This will give you the coefficients of the exponential decay curve.
source share