MATLAB Listing

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

%Equation (2.25) of book ‘Satellite Communication Systems: Design Principles’ by M.Richharia;

%Ground station antenna beamwidth versus maximum duration of sun transit;

%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.25;

%Plot figure;

plot(beamwidth,days,’k’)

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

axis([0.1 5 -inf 25]);

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

ylabel(‘Maximum duration of sun transit on peak day (Minutes)’);

grid on;

zoom;