[PSI,X] = morlet(LB,UB,N)
[PSI,X] = morlet(LB,UB,N) returns values
of the Morlet wavelet on an
N point regular grid
in the interval
Output arguments are the wavelet function
on the grid
X, and the grid
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.
This example shows how to create a Morlet wavelet. The wavelet has an effective support of [-4,4]. Use 1,000 sample points.
lb = -4; ub = 4; n = 1000; [psi,xval] = morlet(lb,ub,n); plot(xval,psi) title('Morlet Wavelet');