Professional Documents
Culture Documents
Amplitude Shift Keying: Expt. No. 4 Date
Amplitude Shift Keying: Expt. No. 4 Date
Objective
Theory
Any digital modulation scheme uses a finite number of distinct signals to represent
digital data. ASK uses a finite number of amplitudes, each assigned a unique pattern
of binary digits. Usually, each amplitude encodes an equal number of bits. Each
pattern of bits forms the symbol that is represented by the particular amplitude. The
demodulator, which is designed specifically for the symbol-set used by the
modulator, determines the amplitude of the received signal and maps it back to the
symbol it represents, thus recovering the original data. Frequency and phase of the
carrier are kept constant.
1. Low-frequency RF applications
Problem Statement
Write a MATLAB code to display ASK (Amplitude Shift Keying) modulated waveform
using following characteristics. You need to upload only single pdf which consists
code with output. Rename the pdf properly.
For example, if in case of roll number 14, its binary representation is 1110. Thus
digital input data must be 001110 (total bits are 6)
Code:
Div: A
Batch: A2
clc;
clear all;
close all;
for k=1:N
if x(k)==1
digits(((k-1)*nb + 1):k*nb) = 1;
end
t = Tb/nb:Tb/nb:N*Tb;
subplot(211); % Plotting
plot(t,digits);
Ac = 5;
Rb = 1/Tb;
fc = 10*Rb;
tc = Tb/nb:Tb/nb:Tb;
if x(l)==1
end
subplot(212); % Plotting
plot(t,mod_sig);
Matlab Implementation:
Conclusion:
In this graph at 0 there is no carrier signal but at 1 there is carrier signal. Amplitude Shift
key (ASK) is used for transmitting the data over optical fiber. In this way, implementation
of ASK practical successful on MATLAB.