blob: 08abd93cd393875a0e42239b9d10b18de0ca1cd6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
//Chapter-11 example 32
//=============================================================================
clc;
clear;
//input data
F1 = 490;//freq shift lower limit in Mhz
F2 = 510;//freq shift upper limit in Mhz
//calculations
SC = (F1+F2)/2;//Spectrum Centre in Mhz
BW = F2-F1;//bandwidth in Mhz
CPW = 1/BW;//compressed bandwidth in us
//Output
mprintf('Spectrum centre is %g MHz\n BandWidth is %g MHz\n Compressed pulse Width is %g us',SC,BW,CPW);
//============end of the program===============================================
|