diff options
Diffstat (limited to '2219/CH10/EX10.14/Ex10_14.sce')
-rwxr-xr-x | 2219/CH10/EX10.14/Ex10_14.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/2219/CH10/EX10.14/Ex10_14.sce b/2219/CH10/EX10.14/Ex10_14.sce new file mode 100755 index 000000000..061fa4538 --- /dev/null +++ b/2219/CH10/EX10.14/Ex10_14.sce @@ -0,0 +1,17 @@ +// Chapter 10 example 14
+//------------------------------------------------------------------------------
+clc;
+clear;
+//Given data
+Te = 4 // Expanded pulse width in usec
+f1 = 50 // RF freq in Mhz
+f2 = 70 // RF freq in Mhz
+
+// Calculations
+B = f2 - f1; // Signal bandwidth
+Tc = 1/B; // Compressed pulse width in us
+CR = Te/Tc // compression ratio
+
+// Output
+mprintf('Compression Ratio = %d\n Width of compressed pulse = %3.2f us',CR,Tc);
+//-------------------------------------------------------------------------------
|