makesig: Make Signal

View source: R/makesig.R

makesigR Documentation

Make Signal

Description

Creates artificial test signal identical to the standard test signals proposed and used by D. Donoho and I. Johnstone in WaveLab, a MATLAB toolbox for wavelet analysis developed at Stanford University.

Usage

makesig(sigName, N)

Arguments

sigName

character string specifying name of desired signal. Valid values are:

SIGNAL.ALL
SIGNAL.HEAVI.SINE
SIGNAL.BUMPS
SIGNAL.BLOCKS
SIGNAL.DOPPLER
SIGNAL.RAMP
SIGNAL.CUSP
SIGNAL.SING
SIGNAL.HI.SINE
SIGNAL.LO.SINE
SIGNAL.LIN.CHIRP
SIGNAL.TWO.CHIRP
SIGNAL.QUAD.CHIRP
SIGNAL.MISH.MASH
SIGNAL.WERNER.SORROWS (Heisenberg)
SIGNAL.LEOPOLD (Kronecker)
N

numeric scalar specifying length in samples of desired signal (512 by default)

Value

Returns a list with components:

x

vector (or matrix) of test signals

N

length of signal returned

Note

Using the value SIGNAL.ALL.SIG for sigName returns a matrix containing the vectors of all the other signals.

Author(s)

P. Roebuck proebuck1701@gmail.com

References

J. Buckheit, S. Chen, D. Donoho, I. Johnstone, & J. Scargle
WaveLab (version 0.700; 1995) [Computer software].
https://statweb.stanford.edu/~wavelab/WaveLab701.html

Examples

ret.sig <- makesig(SIGNAL.DOPPLER, 32)

rwt documentation built on June 14, 2022, 5:07 p.m.

Related to makesig in rwt...