Rwave (version 2.4-8)

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)

Arguments

input

3D array containing a continuous wavelet transform

Value

2D array continuous (complex) 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
# NOT RUN {
    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