summaryrefslogtreecommitdiff
path: root/1409/CH8/EX8.17/8_17.sce
blob: c91b0f7495656536cdadd0b4be4052ad6815930d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clc;
//page no 8-57
//Example 8.17
fo=1010;//in kHz
fs=555;//in kHz
Q=40;
fi=fo-fs;
disp(+'kHz',fi,'Intermediate frequency is ');
fsi=fs+(2*fi);
disp(+'kHz',fsi,'Image frequency is ');
rho=(fsi/fs)-(fs/fsi);
alpha=sqrt(1+(Q^2*rho^2));
disp(alpha,'Image frequency rejection ratio is ');