MATLAB Listing

%Figure 2.19(a); ‘Mobile satellite communication; Principles and trends’ by M.Richharia;

%Half power beamwidth Vs maximum number of days sun transit occurs at an earth station

%Equation (2.24) of ‘Satellite Communication System:Design Principles’by M.Richharia;

%days=(beamwidth+0.48)/0.4, where, days = Number of days solar interference occurs at an earth station;

%beamwidth = earth stationantenna 3 dB beamwidth;

%Matlab source code written by AR/MR; Year 2000, V 1.0;

beamwidth=linspace(0,10,10);%beamwidth

figure(‘color’,’white’);

hold;

days=(beamwidth+0.48)/0.4;

%Plot figure

plot(beamwidth,days,’k’)

%legend(‘i=45′,’i=90′,’i=5′,’i=63.4’)

axis([0.1 5 -inf 15]);

xlabel(‘Half power beamwidth (Degrees)’);

ylabel(‘Maximum no of days’);

grid on;

zoom;