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,...)
where Tfunc is a function
with calling sequence
p=T(x,arg1,arg2,...)
Tfunc
.