diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2219/CH9/EX9.3/Ex9_3.sce | |
download | Scilab-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/CH9/EX9.3/Ex9_3.sce')
-rwxr-xr-x | 2219/CH9/EX9.3/Ex9_3.sce | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/2219/CH9/EX9.3/Ex9_3.sce b/2219/CH9/EX9.3/Ex9_3.sce new file mode 100755 index 000000000..47a0c422f --- /dev/null +++ b/2219/CH9/EX9.3/Ex9_3.sce @@ -0,0 +1,25 @@ +// Chapter 9 example 3
+//------------------------------------------------------------------------------
+clc;
+clear;
+// Given Data
+f = 10*10^9; // radar Tx frequency
+PRF = 2000; // Pulse repetitive frequency in Hz
+Vr = 0.5; // radial vel in Mach
+c = 3*10^8; // velocity of EM waves in m/s
+vs = 330; // velocity of sound in m/s
+
+// Calculations
+lamda = c/f; // wavelength in m
+max_unamb_fd = PRF/2; // maximum unambiguous doppler shift
+Vrunamb = (lamda*max_unamb_fd)/2; // doppler shift
+Vaircraft = 0.5*vs; // Converting from Mach to m/s
+fd_desired = (2*Vaircraft)/lamda;
+PRF_desired = 2*fd_desired; // desired PRF
+
+// Output
+if Vrunamb < Vaircraft then
+ mprintf('The radar is not capable of determining unambiguously the velocity of the approaching aircraft\n');
+end
+mprintf(' Desired Pulse Repetition Rate = %d Khz',PRF_desired/1000);
+//------------------------------------------------------------------------------
|