This function computes signal function values based on a grid input.
Usage
make.signal2(name, x, snr = Inf, ...)
Arguments
name
a character string of the test signal to create.
x
a vector of gridpoints.
snr
optional argument to scale the function values according
to a signal-to-noise ratio.
…
any additional arguments.
Value
z
the signal function values.
Details
This function is based on the make.signal function included in the S-Plus wavelets module, except that the x vector can be irregular. As well as the signals included for the original version (e.g. the Donoho/Johnstone test signals), a piecewise polynomial can be sampled.