summaryrefslogtreecommitdiff
path: root/1997/CH11/EX11.27/example27.sce
diff options
context:
space:
mode:
Diffstat (limited to '1997/CH11/EX11.27/example27.sce')
-rwxr-xr-x1997/CH11/EX11.27/example27.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/1997/CH11/EX11.27/example27.sce b/1997/CH11/EX11.27/example27.sce
new file mode 100755
index 000000000..f2eb67bd1
--- /dev/null
+++ b/1997/CH11/EX11.27/example27.sce
@@ -0,0 +1,17 @@
+//Chapter-11 example 27
+//=============================================================================
+clc;
+clear;
+//input data
+PW = 5;//FM pulse width before compression in us
+Fl = 40;//lower cut off Frequency in Mhz
+Fh = 60;//upper cut off Frequency in Mhz
+
+// Calculations
+BW = Fh-Fl;//bandwidth of signal in Mhz
+CPW = 1/BW;//Compression pulse width in us
+CR = PW/CPW;//compression ratio
+
+//output
+mprintf('Compression ratio is %g\n Compression Pulse Width is %g us\n',CR,CPW);
+//==============end of the program==============================================