0% found this document useful (0 votes)
129 views4 pages

Amplitude Shift Key:: Amplitude Modulation Digital Data Amplitude Carrier Wave

Amplitude shift keying (ASK) is a digital modulation technique that represents binary data as variations in the amplitude of a carrier wave. In ASK, a binary 1 is represented by transmitting a carrier signal at full amplitude for a bit duration, while a binary 0 is represented by not transmitting the carrier signal. There are two amplitude levels: one for 1s and one for 0s. MATLAB code is provided to generate and plot an example ASK signal modulating a carrier wave with a square wave data signal.

Uploaded by

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

Amplitude Shift Key:: Amplitude Modulation Digital Data Amplitude Carrier Wave

Amplitude shift keying (ASK) is a digital modulation technique that represents binary data as variations in the amplitude of a carrier wave. In ASK, a binary 1 is represented by transmitting a carrier signal at full amplitude for a bit duration, while a binary 0 is represented by not transmitting the carrier signal. There are two amplitude levels: one for 1s and one for 0s. MATLAB code is provided to generate and plot an example ASK signal modulating a carrier wave with a square wave data signal.

Uploaded by

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

AMPLITUDE SHIFT KEY:

Amplitude shift keying in terms of digital communications is a modulation process, which


imparts to a sinusoid two or more discrete amplitude levels. ASK is a form of amplitude
modulation that represents digital data as variations in the amplitude of a carrier wave. In an
ASK system, the binary symbol 1 is represented by transmitting a fixed-amplitude carrier wave
and fixed frequency for a bit duration of T seconds. If the signal value is 1 then the carrier signal
will be transmitted; otherwise, a signal value of 0 will be transmitted. These are related to the
number of levels adopted by the digital message.

There are so many types of Shift Keying like PSK , FSK , BPSK but here we are talking about
only ASK.
MATLAB Code:

F1=100; %Carrier Frequency


F2=60; %Data Rate Frequency
A=10; %Amplitude
t=0:0.001:1; %0 to 1 with 0.001 increment
x=A.*sin(2*pi*F1*t); %Carrier Sine wave
u=A/2.*square(2*pi*F2*t)+(A/2); %Square wave message
v=x.*u; %Modulated Wave MULTIPLIED
%==============================MODULATION===================================
v1=x.*u %Modulated Wave MULTIPLIED
v2 = u ;
v3 = x ;
figure(1);
subplot(3,1,1);
plot(t,x);
xlabel('Time');
ylabel('Amplitude');
title('Carrier');
grid on;
subplot(3,1,2);
plot(t,u);
xlabel('Time');
ylabel('Amplitude');
title('Square Pulses');
grid on;subplot(3,1,3);
plot(t,v);
xlabel('Time');
ylabel('Amplitude');
title('ASK Signal');
grid on;
figure(2);
% ////////////////////////////////////////
subplot(3,1,1);
plot(t,v1);
xlabel('Time');
ylabel('Amplitude');
title('ASK Signal');
grid on;
subplot(3,1,2);
plot(t,v2);
xlabel('Time');
ylabel('Amplitude');
title('Square Pulses');
grid on;
subplot(3,1,3);
plot(t,v3); %Frequency Must be Half
xlabel('Time'); %e.g F1 = 40 , then F2= 20
ylabel('Amplitude');
title('Carrier ');
grid on;

You might also like