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 915-MHz transmitter was placed at the point marked TX on the first floor. The distance
between upper-most and lower-most walls (the vertical building dimension along the "x" axis) is
180 feet. The distance between floors is 13 feet. Measurements of received field strength at
various locations are represented by hand-drawn symbols such as
-1rB0.
The dots are the measurement locations. The numbers inside the circles are the field strengths in
dBm, less a minus sign. So, the two measurements shown are -78dBm and -80dBm.
Task 1- log-normal shadowing model
Make a plot of field strength in dBm vs.10log(rr0) where r is the (true,3D) distance from the
transmitter and r0=1m is the reference distance. Remember to include the distance between
floors when calculating r values for the second floor. Determine the best-fit log-normal
shadowing model
PM=P0-10nlogrr0
This has two parameters: P0,n. Add this model to your field-strength plot. What are the
parameters P0,n and the standard deviation of the fit ? The fitLine code in the Appendix of
Lecture 4 can be used. Plot this line on the same graph as the field-strength measurements.
Appendix - field strength measurements versus position
First floor
Second floor% Replace 'distance' and 'field_strength' with your actual data
% Example:
x =[1,2,3,4,5]; //replace with your actual distance data
y =[60,55,50,45,40]; //replace with your actual field strength data//Fit log-normal shadowing model
[alpha, beta, sigma]= fitLogNormal(x, y);
disp('Log-Normal Shadowing Model Parameters:');
disp(['Alpha (intercept): '+ string(alpha)]);
disp(['Beta (slope): '+ string(beta)]);
disp(['Sigma (standard deviation): '+ string(sigma)]);
//Plot the field strength data
plot(x, y,'o', 'MarkerSize', 10, 'MarkerFaceColor', 'b');
hold on;
//Generate log-normal shadowing model curve for plotting
x_fit = linspace(min(x), max(x),100);
y_fit = alpha + beta * log(x_fit);
plot(x_fit, y_fit, 'r-', 'LineWidth', 2);
xlabel('Distance');
ylabel('Field Strength (dBm)');
title('Field Strength vs. Distance with Log-Normal Shadowing Model');
legend('Field Strength Data', 'Log-Normal Shadowing Model');
grid on;
hold off;
Please solve for distance and field strength data

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Civil Engineering Questions!