summaryrefslogtreecommitdiff
path: root/3739/CH7/EX7.10/EX7_10.sce
blob: daeb25af3228718c4bdfdae7303298e3a2380034 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//Chapter 7, Example 7.10, page 331
clc
//Initialisation
Aa=15                                    //Transmitter antenna discrimination
Ab=25                                    //Receiver antenna discrimination
AD=110                                  //path in km                     
s=35                                    //fading in dB

//Calculation
CD=30                                       //path in km 
Ad=20*log10(AD*CD**-1)               //Distance discrimination

si=Aa+Ab+Ad                                //in dB
si2=si-s                                    //in dB

//Results
printf("(1) S/I = %.1f dB",si)
printf("\n(2) S/I = %.1f dB",si2)