summaryrefslogtreecommitdiff
path: root/2219/CH7/EX7.14
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2219/CH7/EX7.14
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2219/CH7/EX7.14')
-rwxr-xr-x2219/CH7/EX7.14/Ex7_14.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/2219/CH7/EX7.14/Ex7_14.sce b/2219/CH7/EX7.14/Ex7_14.sce
new file mode 100755
index 000000000..6148ff0df
--- /dev/null
+++ b/2219/CH7/EX7.14/Ex7_14.sce
@@ -0,0 +1,18 @@
+// chapter 7 example 14
+//-----------------------------------------------------------------------------
+clc;
+clear;
+// given data
+D = 2; // Mouth diameter in m
+f = 2; // focal length in m
+bw3db = 90/100; // beamwidth of antenna chosen to be 90% of angle subtended by feed
+
+// Calculations
+theta = 4*atan(1/(4*f/D)); // angle subtended by the focal point feed at edges of reflector
+theta_d = theta*180/%pi
+Beam_w_3dB = bw3db*theta_d; // 3 dB beam width
+NNBW = 2*(Beam_w_3dB );
+
+// Output
+mprintf('3 dB Beamwidth = %3.1f°\n Null-to-Null beam width = %3.2f°\n',Beam_w_3dB,NNBW);
+//------------------------------------------------------------------------------