%Copyright WaVe 2012
clc; clear all;
f = 86; %Frequency in Ghz
R = 15; %Rain rate in mm/hr
h = 3; %rain height in km
e = 49.8; %elevation in degrees
e = e*pi/180;

%parameters for coefficients
a = 4.09*(10^-2)*f^0.699;
b = 2.63*f^-0.272;

%Calculate specific attenuation for rain
alpha = a*(R^b)

%Total rain path attenuation
A = (alpha*h)/sin(e)