www.gusucode.com > wavelet 源码程序 matlab案例代码 > wavelet/MorletWaveletExample.m

    %% Morlet Wavelet
% This example shows how to create a Morlet wavelet. The wavelet has an
% effective support of [-4,4]. Use 1,000 sample points.

% Copyright 2015 The MathWorks, Inc.

lb = -4;
ub = 4;
n = 1000;
[psi,xval] = morlet(lb,ub,n);
plot(xval,psi)
title('Morlet Wavelet');