Professional Documents
Culture Documents
21BEC1676 Avinash V Analog Communiction EXP 3
21BEC1676 Avinash V Analog Communiction EXP 3
Date: 19.1.23
Name: Avinash V
Reg. No. 21BEC1676
Procedure:
2) Assign the values for all parameters like message signal-frequency, amplitude and
others
3) Specify the message signal in mathematical form and plot the message signal
7) To extract the message signal from AM modulated signal multiply carrier signal
with message signal and use buttord and butterworth command
8) Repeat the process for different type of modulation and observe the output
Modulation
Modulating
Signal
Generator
A.M
modulator
Carrier
Generator
Demodulation
Modulating
Signal AM AM
Generator Modulator Demodulator
Carrier
Generator
clc
clear all
m=input('Enter the value of modulation index (m)=');
Am=5;
fa=2000;
Ta=1/fa;
t=0:Ta/999:6*Ta;
ym=Am*sin(2*pi*fa*t);
figure (2)
subplot(3,1,1);
plot(t,ym), grid on;
title('Modulating Signal');
xlabel('Time(sec)');
ylabel('Amplitude(Volt');
Ac=Am/m;
m=Am/Ac;
fc=fa*10;
Tc=1/fc;
yc=Ac*sin(2*pi*fc*t);
subplot(3,1,2);
plot(t,yc), grid on;
title('Carrier Signal');
xlabel('Time(sec)');
ylabel('Amplitude(Volt)');
y=Ac*(1+m*sin(2*pi*fa*t)).*sin(2*pi*fc*t);
subplot(3,1,3);
plot(t,y);
title('Amplitude Modulated Signal');
xlabel('Time(sec)');
ylabel('Amplitude(Volt');
grid on;
clc
clear all
close all;
%ZZZZZZZZZZ Modulating Signal Generation ZZZZZZZZ
A=3; % Amplitude of modulating Signal
fa=100; % Frequency of modulating signal
T=1/fa; %Period of modulating signal
t=0:T/1000:2*T; % Variable time
ya=A*sin(2*pi*fa*t); % Equation for Modulating signal
figure(1);
subplot(3,1,1);
plot(t,ya); % Graphical representation of Modulating signal
title ( ' Modulating Signal' );
xlabel ( ' time(second) ')
ylabel (' Amplitude(volt) ');
Explanation:
In the demodulation part first we generate the received signal that is basically AM modulated
signal and to extract the message signal we multiply the message the signal with carrier
signal to get message signal then we use buttord and butterworth commands to extract the
more accurate message signal
Inference:
From the modulated waveform we can observe the superimposition of carrier and message
signal and also we observe a bubble shaped signal from this waveform so we can conclude
that AM modulation is done and to verify the modulation output we need demodulate the
same once demodulation is done we can an observe similar signal like message signal hence
verified the result of AM modulation.
Result:
The MATLAB code for AM modulation is done and verified the output using demodulation