0% found this document useful (0 votes)
51 views2 pages

Name: Nishant Srivastava Regd. No.: 11105800 Section: E2104 B-41

Nishant Srivastava performed an experiment on March 28, 2014 to generate and demodulate an amplitude shift keying (ASK) modulated signal using MATLAB. The code generates a binary digital signal, modulates it using ASK to produce an analog signal, then demodulates the signal back to the original digital values. The output displays the modulated and demodulated signals on two subplots with their respective time and amplitude axes.

Uploaded by

seeksudhanshu1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
51 views2 pages

Name: Nishant Srivastava Regd. No.: 11105800 Section: E2104 B-41

Nishant Srivastava performed an experiment on March 28, 2014 to generate and demodulate an amplitude shift keying (ASK) modulated signal using MATLAB. The code generates a binary digital signal, modulates it using ASK to produce an analog signal, then demodulates the signal back to the original digital values. The output displays the modulated and demodulated signals on two subplots with their respective time and amplitude axes.

Uploaded by

seeksudhanshu1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Name : Nishant Srivastava

Regd. No. : 11105800


Section : E2104 B-41

Date of performance : (28
th
March, 2014)
Aim : To obtain binary ASK modulated signal and to calculate the
bandwidth using Matlab.

Matlab Code :

clc;
clear all;
close all;
s=[1 0 0 1 1 0];
a=20;
f=10;
l=length(s);

%% Generation of ASK

for i=1:l
A=a*s(1,i);
for t=(i-1)*100+1:i*100
x(t)=A*sin(2*pi*f*t/1000); %1000=sampling frequency

%% Degeneration of ASK

if (abs(x(t))>0)
y(t)=1; % To get higher digital value (1)
else
y(t)=0; %To get lower digital value (0)
end
end
end
subplot(211);plot(x)
xlabel('time in secs.....>')
ylabel('Amplitude in volts .... >')
title('ASK')
grid on

subplot(212);plot(y)
axis([0 600 0 2]);
xlabel('time in secs... >')
ylabel('Amplitude in volts ....>')
title('Demodulated ASK')
grid on











Output waveforms for binary ASK modulated and demodulated signal :

You might also like