Question: Please solve for distance and field strength data to fit within the code arrays. In the Appendix there are two images. Each is of one
Please solve for distance and field strength data to fit within the code arrays. In the Appendix there are two images. Each is of one of the two floors of a commercial building.
A transmitter was placed at the point marked TX on the first floor. The distance
between uppermost and lowermost walls the vertical building dimension along the axis is
feet. The distance between floors is feet. Measurements of received field strength at
various locations are represented by handdrawn symbols such as
The dots are the measurement locations. The numbers inside the circles are the field strengths in
less a minus sign. So the two measurements shown are and
Task lognormal shadowing model
Make a plot of field strength in vs where is the trueD distance from the
transmitter and is the reference distance. Remember to include the distance between
floors when calculating values for the second floor. Determine the bestfit lognormal
shadowing model
This has two parameters: Add this model to your fieldstrength plot. What are the
parameters and the standard deviation of the fit The fitLine code in the Appendix of
Lecture can be used. Plot this line on the same graph as the fieldstrength measurements.
Appendix field strength measurements versus position
First floor
Second floor Replace 'distance' and 'fieldstrength' with your actual data
Example:
x ; replace with your actual distance data
y ; replace with your actual field strength dataFit lognormal shadowing model
alpha beta, sigma fitLogNormalx y;
dispLogNormal Shadowing Model Parameters:;
dispAlpha intercept: stringalpha;
dispBeta slope: stringbeta;
dispSigma standard deviation: stringsigma;
Plot the field strength data
plotx yo 'MarkerSize', 'MarkerFaceColor', b;
hold on;
Generate lognormal shadowing model curve for plotting
xfit linspaceminx maxx;
yfit alpha beta logxfit;
plotxfit, yfit, r 'LineWidth', ;
xlabelDistance;
ylabelField Strength dBm;
titleField Strength vs Distance with LogNormal Shadowing Model';
legendField Strength Data', 'LogNormal Shadowing Model';
grid on;
hold off;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
