0% found this document useful (0 votes)
6 views

Study of Amplitude Modulation and Demodulation Using MATLAB

This document summarizes an experiment on amplitude modulation and demodulation using MATLAB. The objective was to study the effects of AM in MATLAB and the effects of demodulation. The experiment involved generating carrier and message signals, performing DSB-SC modulation by multiplying them, detecting the signal by multiplying with a carrier, and demodulating by passing through a low pass filter. MATLAB code was provided to simulate the modulation, detection, and demodulation processes. In a practice problem, similar steps were followed using different carrier and message signals to verify the concepts.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

Study of Amplitude Modulation and Demodulation Using MATLAB

This document summarizes an experiment on amplitude modulation and demodulation using MATLAB. The objective was to study the effects of AM in MATLAB and the effects of demodulation. The experiment involved generating carrier and message signals, performing DSB-SC modulation by multiplying them, detecting the signal by multiplying with a carrier, and demodulating by passing through a low pass filter. MATLAB code was provided to simulate the modulation, detection, and demodulation processes. In a practice problem, similar steps were followed using different carrier and message signals to verify the concepts.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

Experiment No: 01

Experiment Title: Study of Amplitude modulation and demodulation


using MATLAB

Course Name : Communication System LAB

Course Code : EEE 310

Submitted by

AKM Fahim Faysal

ID : 182016018

Section : 01

Dept.Of EEE,ULAB

Submitted to

Mr. Atik jawad

lectured , Dept.Of EEE, ULAB


Objective:

1. To Study the effect of Amplitude modulation in MATLAB

2. The effect of Demodulation in MATLAB

Class Practice:
MATLAB Simulation Code

clear all
close all
clc

t = 0:0.00001:0.005;
Ac = 5;
fc = 15e3;
ct = Ac*cos(2*pi*fc*t); % Carrier signal for transmission
m = 2*sin(2*pi*1000*t) + 3*sin(2*pi*200*t); % message signal

plot(t,ct)
title('Carrier Signal');
figure
plot(t,m)
title('Message Signal');
% DSB_SC Modulation
s = ct.*m; % Multiplication of the carrier signal with the message signal
figure
plot(t,s)
title('Amplitude Modulation Signal')
% Coherent Detection

%define the carrier signal again


cr = Ac*cos(2*pi*fc*t); % Carrier signal for receiver
v = (cr.*s); % Product modulation ( Multiplication by the carrier signal)
figure
plot(t,v)
title('After multiplication with the carrier');
B = 1000; % Highest frequency component in the message signal
lpf= sinc(2*B*t); % designing the lpf with the highest frequency component
in the message
vo = conv(lpf,v); % passing the signal through the low pass filter
vo = vo(1:length(t)); % As during the convolution process, the signal
length gets increased, we need to take only the length equal to length of the
time axis
figure
plot(t,vo)
title('Final message after Low pass filtering');
Practice Problem 1:
clear all
close all
clc

t = 0:0.00001:0.005;
Ac = 5;
fc = 15e3;
ct = 15*cos(50000*pi*t); % Carrier signal for transmission
m = 10*sin(3000*pi*t) + 5*sin(1600*pi*t); % message signal

plot(t,ct)
title('Carrier Signal');
figure
plot(t,m)
title('Message Signal');

% DSB_SC Modulation
s = ct.*m; % Multiplication of the carrier signal with the message signal
figure
plot(t,s)
title('Amplitude Modulation Signal')

% Coherent Detection

%define the carrier signal again


cr = 15*cos(50000*pi*t); % Carrier signal for receiver
v = (cr.*s); % Product modulation ( Multiplication by the carrier signal)
figure
plot(t,v)
title('Amplitude modulation+ carrier signal) at receiver side');
B = 1000; % Highest frequency component in the message signal
lpf= sinc(2*B*t); % designing the lpf with the highest frequency component
in the message
vo = conv(lpf,v); % passing the signal through the low pass filter
vo = vo(1:length(t)); % As during the convolution process, the signal
length gets increased, we need to take only the length equal to length of the
time axis
figure
plot(t,vo)
title('Demodulated Signal');
Discussion:

At first I worked with massage and carrier signals. Then I work with an amplitude modulation
signal. I can multiply these two signals and detect the modulated signal then I create the
demodulated signal.

You might also like