summaryrefslogtreecommitdiff
path: root/3773/CH16/EX16.1
diff options
context:
space:
mode:
Diffstat (limited to '3773/CH16/EX16.1')
-rw-r--r--3773/CH16/EX16.1/Ex16_1.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3773/CH16/EX16.1/Ex16_1.sce b/3773/CH16/EX16.1/Ex16_1.sce
new file mode 100644
index 000000000..53bef4af0
--- /dev/null
+++ b/3773/CH16/EX16.1/Ex16_1.sce
@@ -0,0 +1,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))