summaryrefslogtreecommitdiff
path: root/2219/CH9/EX9.1/Ex9_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '2219/CH9/EX9.1/Ex9_1.sce')
-rwxr-xr-x2219/CH9/EX9.1/Ex9_1.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2219/CH9/EX9.1/Ex9_1.sce b/2219/CH9/EX9.1/Ex9_1.sce
new file mode 100755
index 000000000..19acedf0b
--- /dev/null
+++ b/2219/CH9/EX9.1/Ex9_1.sce
@@ -0,0 +1,15 @@
+// Chapter 9 example 1
+//------------------------------------------------------------------------------
+clc;
+clear;
+// Given Data
+PRF = 1000; // Pulse repetitive frequency in Hz
+t = 0.15*10^-3; // Round propagation time in s
+c = 3*10^8; // velocity of EM waves in m/s
+// calculations
+R = (c*t)/2; // Range
+Runamb = c/(2*PRF) // Max unambiguous range
+
+// Output
+mprintf('Target Range = %3.1f Km\n Maximum Unambiguous range = %d Km',R/1000,Runamb/1000);
+//------------------------------------------------------------------------------