Learn R Programming

Rwave (version 2.6-5)

cwtimage: Continuous Wavelet Transform Display

Description

Converts the output (modulus or argument) of cwtpolar to a 2D array and displays on the graphic device.

Usage

cwtimage(input)

Value

2D array continuous (complex) wavelet transform

Arguments

input

3D array containing a continuous wavelet transform

Details

The output contains the (complex) values of the wavelet transform of the input signal. The format of the output can be

2D array (signal_size x nb_scales)

3D array (signal_size x noctave x nvoice)

References

See discussions in the text of ``Practical Time-Frequency Analysis''.

See Also

cwtpolar, cwt, DOG.

Examples

Run this code
    x <- 1:512
    chirp <- sin(2*pi * (x + 0.002 * (x-256)^2 ) / 16)
    retChirp <- cwt(chirp, noctave=5, nvoice=12, twoD=FALSE, plot=FALSE)
    retPolar <- cwtpolar(retChirp)
    retImageMod <- cwtimage(retPolar$modulus)
    retImageArg <- cwtimage(retPolar$argument)

Run the code above in your browser using DataLab