logo

ITECH2300: Mobile Network & Wireless Communication Assignment 2022

   

Added on  2022-09-21

15 Pages2980 Words20 Views
 | 
 | 
 | 
Page 1 of 4
ITECH2300
Mobile Network & Wireless Communication Assignment 1 – Semester
2 2019
Submission Guidelines
Deadline: Sunday 1 September, 2019 (11:55pm midnight on Moodle)
Submission format: PDF only. You can use any freely available pdf converter to make pdf file
from editable one.
Submission platform: upload via Moodle
Files to submit:
You need to submit only one file: Assign1(student_id).pdf
Create a single file that contain answer to all questions
No late submissions unless SPECIAL CONSIDERAION IS PROCESSED
Plagiarism: It is an academic requirement that your submitted work be original. Zero marks will be
awarded for the whole submission if there is any evidence of copying, collaboration, pasting from
websites, or copying from textbooks. –Plagiarism policy applies to all assessments
Marks
This assignment is worth 15% of the total marks.
The assignment is marked out of 45 nominal marks.
For example, if you obtain 30 marks for this assignment, it will contribute
(30/45)*15=10 marks to you final grade.
ITECH2300: Mobile Network & Wireless Communication Assignment 2022_1

Page 2 of 4
Assignment Questions
Part –A
Q1. Given the bit pattern 11010011, encode this data using ASK, FSK and PSK (i.e., draw the
waveform that represents each ‘1’ or ‘0’ in a neat diagram). In the diagram, label the amplitude
values used in ASK, frequency values used in BFSK (binary FSK because there are only 0 and 1
in the data), as well as the phase values used in BPSK (binary PSK).
(Hint: see slides on ASK, FSK & PSK in Lecture 5).
Source code:
clc;
f=input ('enter frequency: ');
b= [ 1 1 0 1 0 0 1 1];
n= length(b);
t = 0 : 0.01 : n;
x =1 : 1 : (n+1)*100 ;
for i = 1 : n
for j= i : 0.01 : i+1
bw(x(i*100:(i+1)*100))= b(i);
end
end
pulse=bw(100:end);
carrier= sin(2 * pi* f* t);
modulated= pulse.* carrier;
subplot(3,1,1);
plot(t,pulse);
title 'digital pulse'
xlabel 'time-->', ylabel 'amplitude-->'
grid on; axis([0 n -2 +2])
subplot(3,1,3);
plot(t,modulated);
ITECH2300: Mobile Network & Wireless Communication Assignment 2022_2

Page 3 of 4
title 'ASK MODULATED SIGNAL'
xlabel ' TIME-->', ylabel ' amplitude-->'
grid on; axis([0 n -2 +2])
output
using ASK
USING PSK
Source code
clc;
f=input ('enter frequency: ');
b= [ 1 1 0 1 0 0 1 1];
n= length(b);
t = 0 : 0.01 : n;
x =1 : 1 : (n+1)*100 ;
for i = 1 : n
for j= i : 0.01 : i+1
ITECH2300: Mobile Network & Wireless Communication Assignment 2022_3

Page 4 of 4
bw(x(i*100:(i+1)*100))= b(i);
end
end
pulse=bw(100:end);
carrier= sin(2 * pi* f* t);
modulated= pulse.* carrier;
subplot(3,1,1);
plot(t,carrier);
title 'digital pulse'
xlabel 'time-->', ylabel 'amplitude-->'
grid on; axis([0 n -2 +2])
u = square(2 * pi * f + t);
subplot(3,1,2);
plot(t, u);
title 'PSK SIGNAL'
xlabel ' TIME-->', ylabel ' amplitude-->'
grid on; axis([0 n -2 +2])
output
Using FSK
Source code
clc;
f=input ('enter frequency: ');
ITECH2300: Mobile Network & Wireless Communication Assignment 2022_4

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents