1function g = loss_OH_small_cities_urban(d, hb, hm, f)
2
3  %%
4  %% function g = loss_OH_small_cities_urban(d, hb, hm, f)
5  %%
6  %% returns the loss at d meters for f frequency and mobile height m and
7  %% base station height of hb
8
9  assert(isscalar(f));
10  assert(f > 0);
11
12  Ch = 0.8 + (1.1*log10(f)-0.7)*hm -(1.56*log10(f));
13
14  g = zeros(size(d));
15  g(find(d > 0)) = 69.55 + (26.16*log10(f)) - (13.82*log10(hb)) + (44.9-(6.55*log10(hb))).*log10(d) - Ch;
16
17  g(find(d <= 0)) = 1;
18
19
20