summaryrefslogtreecommitdiff
path: root/3739/CH7/EX7.4/EX7_4.sce
blob: 760bb21f3ddd911a981c8771385a10664422c8f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//Chapter 7, Example 7.4, page 302
clc

//Initialisation
hr=-1                       //obstacle height and fresnel radius ratio

//Calculation
Ad=-20*hr+10                 //Diffraction loss in dB
Ad2=16                       //from fig 7.8
Ad3=43

//Results
printf("(1) Obstacle loss = %.1f dB",Ad)
printf("\n(2) Knife edge obstacle = %.1f dB",Ad2)
printf("\n(3) Rounded obstacle = %.1f dB",Ad3)