summaryrefslogtreecommitdiff
path: root/2219/CH9/EX9.11/Ex9_11.sce
diff options
context:
space:
mode:
Diffstat (limited to '2219/CH9/EX9.11/Ex9_11.sce')
-rwxr-xr-x2219/CH9/EX9.11/Ex9_11.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/2219/CH9/EX9.11/Ex9_11.sce b/2219/CH9/EX9.11/Ex9_11.sce
new file mode 100755
index 000000000..175eec14b
--- /dev/null
+++ b/2219/CH9/EX9.11/Ex9_11.sce
@@ -0,0 +1,16 @@
+// Chapter 9 example 11
+//------------------------------------------------------------------------------
+clc;
+clear;
+// Given Data
+f = 10^9; // Centre freq. of spectrum
+t = 13 // pulse width in us
+N = 13; // N-bit Barker code
+
+// Calculations
+Sub_PW = t/N; // sub pulsewidth
+match_BW= 1/Sub_PW; // Matched bandwidth in Mhz
+
+// Output
+mprintf('Matched Bandwidth = %d Mhz\n Center Frequency of the spectrum = %d Ghz',match_BW,f/10^9 );
+//-----------------------------------------------------------------------------