dsb_mod.m
来自「数字通信第四版原书的例程」· M 代码 · 共 10 行
M
10 行
function u=dsb_mod(m,ts,fc)
% u=dsb_mod(m,ts,fc)
%DSB_MOD takes signal m sampled at ts and carrier
% freq. fc as input and returns the DSB modulated
% signal. ts << 1/2fc. The modulated signal
% is normalized to have half the message power.
% The message signal starts at 0.
t=[0:length(m)-1]*ts;
u=m.*cos(2*pi*t);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?