morlet.m
来自「基于morlet小波的最小二乘匹配追踪算法」· M 代码 · 共 8 行
M
8 行
function [psi,x] = morlet(lb,ub,nb,center_time,delt,amp,f)
x = linspace(lb,ub,nb); % wavelet support.
%psi = amp*exp(-((x-center_time).^2)/delt) .* cos(2*pi*(x-center_time));
%%%correct
psi = amp*exp(-((x-center_time).^2)*(f^2)*log(2)/delt) .* cos(2*pi*f*(x-center_time));
%psi = amp*exp(-((x-center_time).^2)*f/delt);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?