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.
abs(a-b*exp(-x/c)) where abs() is the absolute value. Which kind of error do you get? In the curve fitting toolbox have you defined the dataset you want to fit? As an extra note: are you sure about your fitting equation? It looks a bit strange, maybe the absolute value is missplaced and the correct equation is a-b*exp(-abs(x)/c) that is symmetric around zero.a-b*exp(-abs(x)/c) because the x data are not referred to zero! I got a decent fit taking into account the horizontal translation along the x axis introducing an extra parameter x0. So the modified function is a-b*exp(-abs(x-x0)/c). With the data you provided I got these parameters (in parethesis their confidence interval): a = 3905 (3265, 4545); b = 3931 (2432, 5431); c = 140.1 (25.82, 254.3); x0 = 162.5 (127.5, 197.6) The fit is not wonderful, but that's it.