Вы находитесь на странице: 1из 5

EXPERIMENT NO.

AIM: - To implement matlab code to determine look angle (azimuth and elevation) of satellite.

MATLAB CODE:

clc;
clear all;
close all;
%Look angle calculation using Maltlab
fprintf('\n\n');
fprintf('..........Look Angle parameters........\n\n');
Ls=input('satellite latitude =');
ls=input('satellite longitude =');
Le=input('Earth station latitude =');
le=input('Earth station longitude =');
rs=input('The distance between earth centre to satellite in meter =');
fprintf('\n');
Re=6378*10^3;
%radius of earth in meter
gama=acosd(cosd(Ls)*cosd(Le)*cosd(ls-le)+sind(Ls)*sind(Le));
d1=(Re^2+rs^2-2*Re*rs*cosd(gama));
d=sqrt(d1); %slant distance
El=acosd((rs*sind(gama))/d);
a=abs(le-ls);
alfa=asind(sind(a)*cosd(Ls)/sind(gama));
fprintf('..........Look Angle calculation........\n\n');
if(Le>0 && ls>0)
Az=180-alfa;
fprintf('The azimuth angle in degree is= %f \n',Az);
elseif(Le>0 && ls<0);
Az=180+alfa;
fprintf('The azimuth angle in degree is= %f \n',Az);
elseif(Le<0 && ls>0)
Az=alfa;
fprintf('The azimuth angle in degree is= %f =\n',Az);
else Az=360-alfa;
fprintf('The azimuth angle in degree is= %f \n',Az);
end
fprintf('Elevation angle is = %f \n',El);
EXPERIMENT NO.9

AIM: - To implement matlab code for uplink and downlink budget calculation.
RESULT:

.........The uplink parameters.........

Enter the transmit power in watt =85


Enter the waveguides loss in db =2
Enter the transmit antenna gain in db =51
Enter the uplink frequency in GHz =6.1
Enter the other losses present in the free space in db =1
Enter the receiver antenna gain =23
Enter the received waveguide loss in db =.5
Enter the system noise temperature in Kelvin =450
Enter the noise bandwidth in Hz =2.5

.........The downlink parameters.........

Enter the transmit power in watt =10


Enter the waveguides loss in db =1.2
Enter the transmit antenna gain in db =30
enter the downlink frequency in GHz =3.6
Enter the other losses present in the free space in db =2
Enter the received antenna gain =41
Enter the received waveguide loss in db =1
Enter the system noise temperature in kelvin =140
Enter the noise bandwidth in Hz =2.5

........the Uplink calculation........

Transmit power in db is = 19.294189


Wave guide loss for uplink in db is = 2.000000
EIRP in db is = 68.294189
Free space loss is in db = 401.285601
The receiver antenna gain in db is = 27.234557
The received power in db is = -307.256855
Wave guide loss for uplink in db is = 0.500000
The system noise temperature in db is = 53.064250
The received antenna gain to system noise temperature ratio in db is = -26.329694
The noise power bandwidth in db is = 7.958800
The noise power in the given bandwidth in db is = -0.243098
The Carrier to noise power ratio in db is = -307.013757

........the downlink calculation........

Transmit power in db is = 10.000000


Wave guide loss for uplink in db is = 1.200000
EIRP in db is = 38.800000
Free space loss is in db = 392.124508
The receiver antenna gain in db is = 32.255677
The received power in db is = -324.068830
Wave guide loss for uplink in db is = 1.000000
The system noise temperature is db is = 42.922561
The received antenna gain to systme noise temperature ratio in db is = -11.666884
The noise power bandwidth in db is = 7.958800
The noise power in the given bandwidth in db is = -310.243098
The Carrier to noise power ratio in db is = -13.825733

Вам также может понравиться