Wireless Networks Assignment11
Wireless Networks Assignment11
Assignment
Answer 1 :
A PMF applies to discrete random variables. It's a function that assigns a probability to each possible value that the variable
can take. The sum of all these probabilities must always be equal to 1.
Example: Imagine rolling a fair die. The possible outcomes are {1, 2, 3, 4, 5, 6}, and each outcome has an equal probability of
1/6. The PMF would be a function that assigns 1/6 to each of these values.
The CDF is also relevant to random variables, both discrete and continuous. It tells you the probability that the variable will be
less than or equal to a certain value.
Example: Continuing with the die roll example, the CDF for X = 2 would be the probability of rolling a 1 or a 2. In this case, it
would be 1/6 (probability of 1) + 1/6 (probability of 2) = 2/6.
A PDF applies to continuous random variables. Unlike a PMF with distinct probabilities for each value, a PDF describes the
probability density across a range of values. The total probability under the entire curve of the PDF is equal to 1.
Example: Imagine measuring the heights of people. Height is a continuous variable, and the PDF would show the probability
density of different heights. There wouldn't be a specific probability for an exact height of, say, 1.7 meters, but the PDF would
indicate the probability of someone being around 1.7 meters tall.
Probability Distribution:
This is a general term for a function that describes the probabilities of different outcomes for a random variable. It can be a
PMF for discrete variables or a PDF for continuous variables.
Example :
1
Uniform distribution wwhere random variable X takes any value within a certain range with equal probability
A very common probability distribution shaped like a bell curve. It's symmetrical around a central peak and describes data
where most values tend to cluster around the average, with fewer values falling further away in either direction.
Example: Many natural phenomena follow a Gaussian distribution, such as heights, weights, or test scores.
A specific type of Gaussian distribution with a mean of 0 and a standard deviation of 1. It's a standardized version of the
normal distribution.
Example: Many statistical tests use the standard normal distribution as a reference for comparing results.
Noise:
Noise is unwanted signal that interferes with the desired signal. It can be random or recurring and can come from various
sources.
Example: Static on a radio broadcast is a type of noise that disrupts the reception of the desired audio signal.
Noise Distribution:
This describes the probability distribution of the noise signal. It shows how probable different noise levels or intensities are.
Example: The noise on a telephone line might have a Gaussian distribution, indicating that most of the time the noise level is
low, with occasional spikes of higher or lower intensity.
A common noise model used in signal processing. It assumes the noise is added to the signal, with each noise sample being
independent and identically distributed (i.i.d.) according to a normal distribution, and having a constant power spectral
density (meaning the noise power is the same across all frequencies).
Example: AWGN is a good model for background noise in electronic circuits or thermal noise that affects sensors.
This probability distribution applies to variables that are skewed to the right, meaning there are more values on the left side of
the distribution and a longer tail towards positive values. The logarithm of the variable follows a normal distribution.
2
Example: Log normal distributions are useful for modeling income levels, stock prices, or sizes of particles in a substance.
Question 2
Plot the received power versus distance for the two-ray model using MATLAB, based on the provided formulas.
Parameters
• Frequency f = 900 MHz
Instructions
1. Define the given parameters in your MATLAB script.
2. Calculate the wavelength λ using the speed of light c and the frequency
f.
4. Calculate the received power Pr(d) using the two-ray ground reflection model.
5. Plot the received power versus distance on a logarithmic scale.
Answer 2 :
f = 900e6; % Frequency in Hz
% Calculate wavelength
lambda = c / f;
4
% Define distance vector on a logarithmic scale
dc = 4 * ht * hr / lambda;
figure;
Hold on;
yline(-60, 'r--', 'Critical Distance dc'); % Adjust -60 dBm to a reasonable y value if needed
xlabel('Distance (m)');
5
legend('Received Power', 'Critical Distance dc');
grid on;
hold off;
Question 3
Assume a receiver is located 10 km from a 50 W transmitter. The carrier frequency is 6 GHz and free space propagation is
assumed, with Gt = 1 and Gr = 1.