make.signal {wmtsa} | R Documentation |
Generates various test signals for wavelet transforms.
make.signal(name, n=1024, snr=Inf)
name |
a character string denoting the type of test signal
to create. Supported values are:
|
n |
an integer specifying the length out the output series.
Default: |
snr |
a numeric value representing the approximate
signal to noise ratio of the output. Default: |
a vector of numeric values containing the resulting test series.
nms <- c("blocks", "linchirp", "mishmash1", "bumps") z <- lapply(nms, make.signal) stackPlot(x=seq(1024),y=z, ylab=nms)