summaryrefslogtreecommitdiff
path: root/2219/CH10/EX10.14/Ex10_14.sce
blob: 061fa45381a707ad328982688a407076b775fd60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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);
//-------------------------------------------------------------------------------