TE-303L: Communication Systems Lab
University of
Engineering and Lab# 8 Tasks
Technology
CLO-1, CL0-2, CLO-3, CLO-4 = PLO-4, PLO-5, PLO-9, PLO-1 = P5, P3,A2,C4
Title: Generation of Single side band (SSB) with suppressed Carrier.
Objectives: 1) To Perform Single side band Modulation in MATLAB.
2) To Perform Single side band Modulation on Amplitude Modulation
Work board 53-130.
Tasks:
%Code P1
Fs = 10000;
t = 0:1/Fs:1;
fc = 100;
fm = 5;
Am = 1;
message_signal = Am * sin(2 * pi * fm * t);
carrier_signal = sin(2 * pi * fc * t);
upper_ssb_modulated_signal = message_signal .* carrier_signal;
lower_ssb_modulated_signal = message_signal .* -carrier_signal;
subplot(6,1,1);
plot(t, message_signal);
title('Message Signal');
xlabel('Time (s)');
ylabel('Amplitude');
subplot(6,1,2);
plot(t, carrier_signal);
title('Carrier Signal');
xlabel('Time (s)');
ylabel('Amplitude');
subplot(6,1,3);
plot(t, upper_ssb_modulated_signal);
title('Upper SSB Modulated Signal');
xlabel('Time (s)');
ylabel('Amplitude');
subplot(6,1,4);
plot(t, lower_ssb_modulated_signal);
title('Lower SSB Modulated Signal');
xlabel('Time (s)');
ylabel('Amplitude');
demodulated_signal = upper_ssb_modulated_signal .* carrier_signal;
cutoff_frequency = 10;
nyquist_frequency = Fs / 2;
filter_order = 100;
b = fir1(filter_order, cutoff_frequency / nyquist_frequency);
recovered_message_signal = filter(b, 1, demodulated_signal);
subplot(6,1,5);
plot(t, demodulated_signal);
title('Demodulated Signal');
xlabel('Time (s)');
ylabel('Amplitude');
subplot(6,1,6);
plot(t, recovered_message_signal);
title('Recovered Message Signal');
xlabel('Time (s)');
ylabel('Amplitude');
TE-303L: Communication Systems Lab
Lab# 8 Tasks
Task 1:
Comments on the each line of the above codes
Task 2:
Experiment with different modulation indices. Change the message signal frequency (fm) and observe
how it affects the Upper SSB modulated signal. Discuss the impact of the modulation index on the
spectral characteristics.
Task 3:
Compare the Upper SSB modulated signal with the Lower SSB modulated signal. Discuss the
differences in their spectra, bandwidth, and demodulation processes. Experiment with different
carrier signal polarities and observe the results.