www.gusucode.com > phased 案例源码 matlab代码程序 > phased/SignalAttenuationDueToRainAsFunctionOfPolarizationExample.m
%% Signal Attenuation Due to Rainfall as Function of Polarization % Compute the signal attenuation due to heavy rainfall as a function of the % polarization tilt angle. Assume a path distance of 100 km, a signal % frequency of 100 GHz signal, and a path elevation angle of 0°. Set % the rainfall rate to 10 mm/hour. Plot the signal attenuation versus % polarization tilt angle. %% % Set the polarization tilt angle to vary from –90 to 90°. tau = [-90:90]; %% % Set the elevation angle, frequency, path distance, and rain rate. elev = 0; freq = 100.0e9; rng = 100e3*ones(size(tau)); rr = 10.0; %% % Compute and plot the attenuation. L = rainpl(rng,freq,rr,elev,tau); plot(tau,L) grid xlabel('Tilt Angle (degrees)') ylabel('Attenuation (dB)')