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

    %% Mexican Hat Wavelet
% Create a Mexican hat wavelet with support on [-5,5]. Use 1,000 sample
% points. Plot the result.

% Copyright 2015 The MathWorks, Inc.

lb = -5;
ub = 5;
N = 1000;
[psi,xval] = mexihat(lb,ub,N);
plot(xval,psi)
title('Mexican Hat Wavelet');