Rwave (version 2.6-5)

gabor: Generate Gabor function

Description

Generates a Gabor for given location and frequency.

Usage

gabor(sigsize, location, frequency, scale)

Value

complex 1D array of size sigsize.

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.

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

m1 = gabor(1024, 512,  2 * pi, 20 )

plot.ts(Re(m1) )


Run the code above in your browser using DataLab