You are on page 1of 1

%%%%%% GENERAL ASSUMTIONS & DEFINED VARIABLES for COST 231 HATA MODEL %%%%%%

f = 800; % Carrier frequency in MHz %


A = 1; % Correction coefficient %
d = sqrt(x^2+y^2); % Distance between transmitter and receiver locations %
t = 30; % Height of transmitter %
r = 1.5; % Height of receiver %
C = 10^0.3; % Attenuation Factor %
x = -500:5:500; % The range of x values. %
y = -500:10:500; % The range of y values. %
[X,Y] = meshgrid (x,y); % This generates the actual grid of x and y values. %
Z = 10^0.1*(46.3+33.9*log10(f))-(10^0.1*(13.82log10(t)))-(10^0.1(A*r))+(10^0.1*(
(((44.9-6.55log10(t))))*(log10(d)))+C;
surf(X,Y,Z);

You might also like