I am thinking of fitting a charge like curve on a few data points of a time series. By charge curve I mean that I expect my time serie to be increasing and converging toward a limit value.
I thought of the classic condensator charge function:
y = y0 + (lim - y0)*(1 - exp(-t/T))
Where my parameters to fit would be T and lim. However I can't seem to wrangle the equation in such a way that it comes down to a linear equation.
I thought of a+ b/(x + c), with c = (y0 - a)/b, but again, wrangling up things seems complicated.
I came up with y = (lim - y0)*exp(-T/t) + y0, but I wonder if there is any other model to fit.
Finally I could try an optimization (e.g. Least Square) with one of the first 2 (or both), but I wonder if there is anything easier.