You are on page 1of 2

Assignment 1

EE851 Advanced Digital Communication Systems

Instructor: Dr Rizwan Ahmed


Prepared by: Ali Hassan
Due Date: 4th Nov, 2022
Instructions:-
.
• All Question are MATLAB Task. Understanding the question is part of MATLAB Task.
Details about task given in problem statement.
• Every student should solve on his own. Plagiarism will result in marks deduction.
• Submit your Matlab Task report in soft copy with all your Matlab work (including plots,
code, comments etc.). (link create on lms)

Question No 1:
Consider a scenario where the Source (S) node wants to communicate with the destination (D)
nodes. IEEE 802.11g standard is used for communication between S and D. The distance
between S to D is 100m. Consider the Dense Urban environment, where the transmit power is
varied from 0 to 50 dBm.
1. Consider the channel between S to D is Rayleigh fading and noise is AWGN. Generate
1000 samples of a Rayleigh random variable R with E{R2}=1. Remember that R =
|X+jY|, where X and Y are zero-mean, independent Gaussian random variables (r.v).
Your Gaussian r.v. X and Y (produced by randn command) must each have variance
equal to ½.
a) Plot the Rayleigh random variable samples in a stem plot.
b) Plot the transmit power of S node VS received power at D node. (Hint: For calculation of
the received power use Friis Equation).
c) Plot the transmit power of S node VS SNR of the link.
d) Plot the transmit power VS Capacity of the link.
2. Now consider the channel between S to D is Rician fading. Generate 1000 samples of a
Rician random variable by adding means mr=10cos(π/3) and mi = 10sin(π/3),
respectively to the real part (X) and imaginary part (Y) in part.
a) Plot the Rican random variable samples in a stem plot.
b) Plot the transmit power of S node VS received power at D node. node (Hint: For
calculation of the received power use Friis Equation)
c) Plot the transmit power of S node VS SNR of the link.
d) Plot the transmit power VS Capacity of the link.

Question No 2:
The probability mass function of X is
X p(x)
0 0.001
1 0.027
2 0.243
3 0.729
The cumulative distribution function of X is
X F(x)
0 0.001
1 0.028
2 0.271
3 1.000
Plot Cdf and Pdf of the data points.
Calculate mean and variance of given data.

You might also like