ssb.m

来自「AM调制及单边带调制 程序规范易懂,It will be helpful to 」· M 代码 · 共 18 行

M
18
字号
%SingleSideBand Supressed Carrier (SSB-SC
%Saurav R Tuladhar  059BEX438/DOECE/PC/IOE

fc = 400; %Carrier Frequency
fm = 50;  %Baseband Frequency

t = linspace(0,1,1000);  %Timebase

m = cos(2*pi*fm*t);        %Baseband signal/message signal
mh = imag(hilbert(m));     %Hilbert Transform of baseband

sb = m.*cos(2*pi*fc*t) - mh.*sin(2*pi*fc*t);   %Expression for SSB with USB, use + for LSB

plot(t,sb);
title('Single SideBand Modulation');
xlabel('Time');
ylabel('ssb');

⌨️ 快捷键说明

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