Study of Amplitude Modulation and Demodulation Using MATLAB
Study of Amplitude Modulation and Demodulation Using MATLAB
Submitted by
ID : 182016018
Section : 01
Dept.Of EEE,ULAB
Submitted to
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
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
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.