MATLAB Answers

Changing wavelet type in Wavelet SynchroSqueezed Transform (WSST)?

5 views (last 30 days)
Itachi
Itachi on 5 Nov 2019
Hi guys,
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:
% Gauss is Similar to morlet, but can control bandwidth
% can be used with synsq for large enough mu/s ratio
if ~isfield(opt,'s'), s = 1/pi; else s = opt.s; end
if ~isfield(opt,'mu'), mu = 0; else mu = opt.mu; end
if ~(derivative)
psihfn = @(w) (2*pi*s^2)^(-1/2)*exp(-(w-mu).^2/(2*s^2));
else
psihfn = @(w) (2*pi*s^2)^(-1/2).*exp(-(w-mu).^2/(2*s^2)).*-(w-mu)/s^2;
end

  0 Comments

Sign in to comment.

Answers (0)

Sign in to answer this question.

Products


Release

R2019b

Translated by