loweq.m

来自「stft(含:短时傅立叶变换 Gabor变换等)」· M 代码 · 共 9 行

M
9
字号
function xl=loweq(x,ts,f0)
%		xl=loweq(x,ts,f0)
%LOWEQ		Returns the lowpass equivalent of the signal x.
%		f0 is the center frequency. 
%		ts is the sampling interval.
%	
t=[0:ts:ts*(length(x)-1)];	
z=hilbert(x);
xl=z.*exp(-j*2*pi*f0*t);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?