Horizontal asymptote of exponential decay
1 view (last 30 days)
Show older comments
Hello, does anyone know how to find the horizontal asymptote of an exponential decay function?
0 Comments
Accepted Answer
Walter Roberson
on 25 Jan 2013
Evaluate the function at infinity.
6 Comments
Walter Roberson
on 30 Jan 2013
The diff() should logically be fitted with a difference of x coordinates, but since your x is in the exponent, A*exp(B*x)+C, subtracting for two different x... (A*exp(B*x1)+C) - (A*exp(B*x2)+C) = A*(exp(B*x1)-exp(B*x2)) and then you do not get nice clean log(exp(B*x)) -> B*x like I was thinking when I proposed the above.
I think a nonlinear least-squares is going to be needed.
More Answers (0)
See Also
Categories
Find more on Least Squares in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!