moved reference propagation scripts
--HG-- rename : src/lte/test/reference/loss_ITU1238.m => src/buildings/test/reference/loss_ITU1238.m rename : src/lte/test/reference/loss_COST231_large_cities_urban.m => src/propagation/test/reference/loss_COST231_large_cities_urban.m rename : src/lte/test/reference/loss_COST231_small_cities_urban.m => src/propagation/test/reference/loss_COST231_small_cities_urban.m rename : src/lte/test/reference/loss_ITU1411_LOS.m => src/propagation/test/reference/loss_ITU1411_LOS.m rename : src/lte/test/reference/loss_ITU1411_NLOS_over_rooftop.m => src/propagation/test/reference/loss_ITU1411_NLOS_over_rooftop.m rename : src/lte/test/reference/loss_OH_2_6GHz.m => src/propagation/test/reference/loss_OH_2_6GHz.m rename : src/lte/test/reference/loss_OH_large_cities_urban.m => src/propagation/test/reference/loss_OH_large_cities_urban.m rename : src/lte/test/reference/loss_OH_openareas.m => src/propagation/test/reference/loss_OH_openareas.m rename : src/lte/test/reference/loss_OH_small_cities_urban.m => src/propagation/test/reference/loss_OH_small_cities_urban.m rename : src/lte/test/reference/loss_OH_suburban.m => src/propagation/test/reference/loss_OH_suburban.m
This commit is contained in:
1 parent
d8585d7811
commit
331ab9bf6a
13 files changed
+10
-39
No files matched your search
@@ -2,7 +2,11 @@ clear all;
|
||||
close all;
|
||||
|
||||
%% BuildingsPropagationLossModel pathloss test reference script
|
||||
%% ITU1411, ITU1238, COST231, OH, etc.
|
||||
|
||||
|
||||
%% ITU1411, COST231, OH, etc. scripts are in the propagation module
|
||||
addpath ("../../../propagation/test/reference/");
|
||||
|
||||
|
||||
%f = 2114e6; % carrier freq Hz, EARFCN = 500 (downlink)
|
||||
%f = 1900e6; % carrier freq Hz, EARFCN = 500 (downlink)
|
||||
|
||||
File renamed without changes.
@@ -1,37 +0,0 @@
|
||||
function g = loss_ITU1411_NLOS_street_canyons (d, f, w1, w2, x1, x2, alpha)
|
||||
|
||||
%%
|
||||
%% function g = loss_ITU1411_NLOS_street_canyons(d, c)
|
||||
%%
|
||||
%% returns the loss at d meters for f frequency and mobile height m and
|
||||
%% base station height of hb
|
||||
|
||||
assert(isscalar(f));
|
||||
assert(f > 0);
|
||||
|
||||
|
||||
lambda = 300000000.0 / f;
|
||||
|
||||
|
||||
if (alpha <= 0.33)
|
||||
f_alpha = -41+110*alpha;
|
||||
elseif (alpha <=0.42)
|
||||
f_alpha = -13.94+28*alpha;
|
||||
elseif (alpha <=0.71)
|
||||
f_alpha = -5.33+7.51*alpha;
|
||||
else
|
||||
f_alpha = 0;
|
||||
endif
|
||||
|
||||
Lr = -20*log10(x1+x2) + (x1*x2*(f_alpha/(w1*w2))) - 20*log10((4*pi)/lambda);
|
||||
|
||||
Da = -1*(40/(2*pi))*(atan(x2/w2)+atan(x1/w1)-(pi/2));
|
||||
|
||||
Ld = -10*log10(x2*x1*(x1+x2))+ 2*Da + 0.1*(90-(alpha*(180/pi))) -20*log10((4*pi)/lambda);
|
||||
|
||||
|
||||
|
||||
g(find(d > 0)) = -10*log10(10^(Lr/10)+10^(Ld/10));
|
||||
|
||||
g(find(d <= 0)) = 1;
|
||||
|
||||
@@ -2,8 +2,12 @@ clear all;
|
||||
close all;
|
||||
|
||||
%% LTE pathloss model
|
||||
%% ITU1411, ITU1238, COST231, OH, etc.
|
||||
|
||||
%% ITU1411, COST231, OH, etc. scripts are in the propagation module
|
||||
addpath ("../../../propagation/test/reference/");
|
||||
|
||||
%% ITU1238 script is in the buildings module
|
||||
addpath ("../../../buildings/test/reference/");
|
||||
|
||||
|
||||
d = 104.12;
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user