Rwave (version 2.4-8)

gabor: Generate Gabor function

Description

Generates a Gabor for given location and frequency.

Usage

gabor(sigsize, location, frequency, scale)

Arguments

sigsize

length of the Gabor function.

location

position of the Gabor function.

frequency

frequency of the Gabor function.

scale

size parameter for the Gabor function. See details.

Value

complex 1D array of size sigsize.

Details

The size parameter here corresponds to the standard deviation for a gaussian. In the Carmona (1998, eBook ISBN:978008053942) book, equation 3.23 has a different scale factor.

References

See discussions in the text of “Practical Time-Frequency Analysis”.

See Also

morlet.

Examples

Run this code
# NOT RUN {
m1 = gabor(1024, 512,  2 * pi, 20 )

plot.ts(Re(m1) )


# }

Run the code above in your browser using DataCamp Workspace