shanwavf

Complex Shannon wavelet

Syntax

[PSI,X] = shanwavf(LB,UB,N,FB,FC)

Description

[PSI,X] = shanwavf(LB,UB,N,FB,FC) returns values of the complex Shannon wavelet defined by a bandwidth parameter FB, a wavelet center frequency FC, and the expression

PSI(X) = (FB^0.5)*(sinc(FB*X).*exp(2*i*pi*FC*X))

on an N point regular grid in the interval [LB,UB].

FB and FC must be such that FC > 0 and FB > 0.

Output arguments are the wavelet function PSI computed on the grid X.

Examples

% Set bandwidth and center frequency parameters.
fb = 1; fc = 1.5;

% Set effective support and grid parameters.
lb = -20; ub = 20; n = 1000;
         
% Compute complex Shannon wavelet shan1.5-1.
[psi,x] = shanwavf(lb,ub,n,fb,fc);

% Plot complex Shannon wavelet.
subplot(211)
plot(x,real(psi)),
title('Complex Shannon wavelet shan1.5-1')
xlabel('Real part'), grid
subplot(212)
plot(x,imag(psi))
xlabel('Imaginary part'), grid

References

Teolis, A. (1998), Computational signal processing with wavelets, Birkäuser, p. 62.

See Also

Was this topic helpful?