How to use extra-arguments in T.
The function T must have the following header:
p=T(x)
x
is the sample or the resample
and p
is a m-by-1 matrix of doubles.
It may happen that the function T require extra-arguments. In this case, the argument T can be the list
(Tfunc,arg1,arg2,...)
Tfunc
is a function with calling sequence
p=Tfunc(x,arg1,arg2,...)
arg1, arg2, ...
are automatically added at the end
of the calling sequence of Tfunc
.