I want to change the wavelet type in the WSST function in MATLAB to a Gaussian type of wavelet. Please, would anyone help me to do this?
The code for Gaussian filter type is written below:
if ~isfield(opt,'s'), s = 1/pi; else s = opt.s; end
if ~isfield(opt,'mu'), mu = 0; else mu = opt.mu; end
psihfn = @(w) (2*pi*s^2)^(-1/2)*exp(-(w-mu).^2/(2*s^2));
psihfn = @(w) (2*pi*s^2)^(-1/2).*exp(-(w-mu).^2/(2*s^2)).*-(w-mu)/s^2;