summaryrefslogtreecommitdiff
path: root/3788/CH5/EX5.3.2/Ex5_3_2.sce
blob: 1fbf66a3ee1cfa3c3fc9e54d318086f0b3e7dc65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//Example 5.3.2
//Claculate the bandwidth and frequency range
//Variables
clc
clear
Rs = 16
fc = 14.125
alpha = 0.25

//result
Bocc = Rs*(1 + alpha)
fl = fc - (Rs/2)*(1+alpha)
fh = fc + (Rs/2)*(1+alpha)

printf("The bandwidth occupied by RF signal is %f Mhz\n",Bocc)
printf("The frequecny range is from %f Ghz to %f Ghz",fl,fh)