summaryrefslogtreecommitdiff
path: root/2219/CH10/EX10.14/Ex10_14.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2219/CH10/EX10.14/Ex10_14.sce
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/CH10/EX10.14/Ex10_14.sce')
-rwxr-xr-x2219/CH10/EX10.14/Ex10_14.sce17
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);
+//-------------------------------------------------------------------------------