morlet

Morlet wavelet

Syntax

[PSI,X] = morlet(LB,UB,N)

Description

[PSI,X] = morlet(LB,UB,N) returns values of the Morlet wavelet on an N point regular grid in the interval [LB,UB].

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

This wavelet has [-4 4] as effective support. Although [-4 4] is the correct theoretical effective support, a wider effective support, [-8 8], is used in the computation to provide more accurate results.

Examples

% Set effective support and grid parameters. 
lb = -4; ub = 4; n = 1000; 
% Compute and plot Morlet wavelet. 
[psi,x] = morlet(lb,ub,n); 
plot(x,psi), title('Morlet wavelet')

See Also

Was this topic helpful?