loweq.m
来自「自己做的一道关于调频的MATLAB代码,希望大家引用。」· 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 + -
显示快捷键?