The equation is as follows:
y=|A-B*exp(-x/C)|
Where||
denotes absolute value.
The easiest way is to use the curve fitting
toolbox in which you can define your own custom fitting function.
Another option is to install the ezyfit toolbox
available here.