I've sat down with pen and paper for a bit to try and figure this out and I've come with a solution (not very elegent but it works):
First instead of a variable base, let your equation be y=ae^bx+c. You don't have to do this but I prefer it:
Let m^x = e^bx
e^ln(m)x = e^bx
ln(m) = b
Substituting your 3 points gives 3 equations:
- y1 = ae^bx1 + c
- y2 = ae^bx2 + c
- y3 = ae^bx3 + c
Take equations [ 1) - 2) ] / [ 1) - 3) ] and simplify to get:
(y1-y2)/(y1-y3) = (e^bx1-e^bx2)/(e^bx1-e^bx3)
Now you can solve for b (just shove it into symbolab or whatever). If an answer can't be found, then it is impossible to represent the set of points as an exponential
Now that you have b, sub this back into equations 1) - 2) and solve for a. Now that you have a, solve for c and done
I know this post is pretty old, but posting because it's one of the first links on google when you search how to fit an exponential