⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dsb_mod.m

📁 现代通信系统(matlab版)(第二版)配套源代码 John G. Proakis等著 刘树棠 译 电子工业出版社出版
💻 M
字号:
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*fc*t);

⌨️ 快捷键说明

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