Experiment No: 06
Experiment Name: To plot a DSB+C AM signal with tone input for different modulation index using
MATLAB.
Theory:
The multiplier generates the two sidebands by multiplying the carrier and message signals. Here, the
only message signal is filtered out at the receiver. If a carrier is added by the summer in the DSBSC
generator, we get a DSB-C transmission. The diagram of the DSBC modulator is shown below:
The pulse train of the signal can be represented as:
S(t) = 1/2 + 2/π (cosωCt - 1/3 cos3ωCt + 1/5 cos5ωCt - 1/7 cos7ωCt ...)
It consists of a diode, an adder, and a bandpass filter. The diode is considered ideal, and the carrier
signal is high frequency. The diode conducts when the carrier and message signal is positive. It is
regulated by the stronger signal, i.e., the carrier signal. When the diode is switched ON, the combined
output appears across its output, which is given by:
Y(t) = (m(t) + AcosωCt) s(t)
Y(t) = (m(t) + AcosωCt) [1/2 + 2/π (cosωCt - 1/3 cos3ωCt + 1/5 cos5ωCt - 1/7 cos7ωCt ...)]
The above output is applied to the bandpass filter. It passes the signal '2/π m(t)cosωCt' and the carrier
component 'A/2 cosωCt.' It clearly depicts that the output is the Double Sideband with Carrier
Amplitude Modulation.
MATLAB Code:
clc
clear all;
fc=100000;
fs=1000000;
f=1000;
m=0.5;
A=1/m;
opt=-A;
t=0:1/fs:((2/f)-(1/fs));
x=cos(2*pi*f*t);
y=modulate(x,fc,fs,'amdsb-tc',opt);
subplot(2,2,1);
plot(x);
title('Modulating Signal-Time Domain');
subplot(2,2,2);
plot(y);
title('DSB-C Signal-Time Domain,m=0.5');
m=1.0;
opt=(-1/m);
y=modulate(x,fc,fs,'amdsb-tc',opt);
subplot(2,2,3);
plot(y);
title('DSB-C Signal-Time Domain,m=1.0');
m=1.2;
opt=(-1/m);
y=modulate(x,fc,fs,'amdsb-tc',opt);
subplot(2,2,4);
plot(y);
title('DSB-C Signal-Time Domain,m=1.2');