Using MATLAB programming language, write a program for modelling the path profile corresponding to
the data set given in following code fragment. An example radio path profile is shown in Figure 2 below.
2. Refer to lecture 4 notes for the method and the formulas required for constructing the path profile. You may
start from the following code. Cut this code and paste as the starting code for your Matlab program. It
provides the path profile that you need to use. Then follow the remaining steps to develop your path profile
program.
%————————————————————————–
clear all
clc
%————————————————————————–
% Load path elevation file:
%————————————————————————–
%load(‘YG_MTD’);
%D = 21.0;
%load(‘HV_MTD’);
%D = 27.9;
load(‘KB_MTD’);%this step loads the profile of the terrain for you in the
array ‘prof’
%You are required to use the array
D = 70.5;%all the points in the array ‘prof’ are spread over this distance
in km
%load(‘BW_MTM’)
%D = 85.5;
3. Use Matlab to find the length of your array in ‘prof’(ie, find how many items are in the file you have just
uploaded in Matlab). You need this length to plot your path profile properly. Note, ‘D’ is the total distance
between the transmitter and receiver.
4. Using ‘D’ from the code fragment above, determine the separation between each entry in the vector ‘prof’.
You need this as your x-axis for plotting.
5. Calculate ‘b’ for the earth bulge using K=4/3 and your data. Remember the formula.
m
12.76K
d d
b
1 2

You will have to choose your distances to achieve the bulge. Note
D  d1  d2
6. You may need to plot the path profile to see how the terrain looks like so that you can choose the heights of
your antennas well. Choose the heights h1 and h2 of your antennas for the first and second sites (they
should be more than 10m and less than 60m).
7. Write the code to determine the antenna height h1 of the first site in relation to the first point of the path
profile. Use the figure below as guide on how to determine this height h1.
8. Write the code to determine the antenna height h2 of the second site in relation to the last point of the path
profile. Use the figure below as guide on how to determine this height h2.
9. Construct the line of site and determine its equation using your data. Also superimpose the earth bulge on
this path profile figure.
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more