FRACLAB Functions | ![]() ![]() |
Evaluation of the liminf or the limsup of the quotient yn/xn with successive eliminations
Syntax
[a,b]=regression_elimination(x,y,SupOuInf,Sigma,Gamma,TolNum)
Inputs
x
:
Abscissas
y
:
Ordinates
SupOuInf
:
'lsup' for limsup, 'linf' for liminf.
TolNum, Sigma, Gamma
:
The point n is eliminated if y(n)+TolNum+Sigma*sqrt(N)*n^Gamma is inferior to the value of the regression line at x(n)
Outputs
a
:Slope of the last line, evaluation of the liminf or the limsup.
b
:Value of the last line at x=0 : offset