env_phass.m

来自「这是关于模拟调制的MATLAB源代码」· M 代码 · 共 13 行

M
13
字号
function [v,phi]=env_phas(x,ts,f0)
%       [v,phi]=env_phas(x,ts,f0)
%             v=env_phas(x,ts,f0)
% ENV_PHAS    Returns the envelope and the phass of the bandpass signal x.
%              f0 is the center frequency.
%              ts is the sampling interval.
if nargout==2
    z=loweq(x,ts,f0);
    phi=angle(z);
end
v=abs(hilbert(x));
    
    

⌨️ 快捷键说明

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