Borrar filtros
Borrar filtros

Trying to find a horizontal asymptote of an exponential decay

1 visualización (últimos 30 días)
Lynn Knoblauch
Lynn Knoblauch el 29 de En. de 2013
I have a set of data that I need to estimate the horizontal asymptote of. I have a code that sort of does this, but I do not think it is what I want. I have a set of equations already that assumes the asymptote at zero. so for example, y=1.24e^-0.005+0.
Any ideas on ow I code use the below code to estimate x at infinity?
Here is the code and thanks for any help anyone has to offer.
syms x
nominator=1.364.*exp(-x); % please change the value of nominator denominator=1; % please change the value of denomiantor in this %case it is 1
f=nominator./denominator;
hold on ezplot(f) % displays the plot of the function xlabel('Time Across Night') ylabel('SWA') vertical_aymtote=limit(f,inf) % horizontal asymptose is there where %vertical function becomes parallel to x axis ie x approaches to %+infinity or x approaches to - infinity

Respuestas (1)

Matt J
Matt J el 29 de En. de 2013
Average over samples at large x?

Categorías

Más información sobre Mathematics en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by