summaryrefslogtreecommitdiff
path: root/3773/CH16/EX16.1/Ex16_1.sce
blob: 53bef4af0b44a8b9aef9d7d91d901bee4003ae05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Chapter 16: Practical Design Considerations of Large Aperture Antennas
//Example 16-2.1
clc;

//Variable Initialization
delta = 1/20.0        //rms deviation (lambda)

//Calculations
del_phi = 4*%pi*delta*180/%pi //Phase error (degrees)
kg = cos(del_phi*%pi/180)**2        //Gain-loss (unitless)
kg = 10*log10(kg)           //Gain-loss (dB)

//Result
mprintf("The gain reduction is %.1f dB",abs(kg))