summaryrefslogtreecommitdiff
path: root/998/CH29/EX29.91/Ex91.sce
blob: b5f683b511efe424b10c8846a46c334fd0ab10d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//Ex:91
clc;
clear;
close;
b_c=36;//carrier BW in MHz
f_c=1000;//Center freq in MHz
f_i=70;// first intermediate freq in MHz
f_smx=6400;//max uplink freq spectrum in MHz
f_smn=5900;//min uplink freq spectrum in MHz
f_l1=f_c-f_i;// in MHz
f_l2mx=f_smx-f_c;// in MHz
f_l2mn=f_smn-f_c;// in MHz
f_s1=f_smx-2*(f_l1+f_i);
f_s2=f_smn-2*(f_l1+f_i);
printf("The first local oscillator frequency=%f MHz", f_l1);
printf("\n The max second oscillator frequency =%f GHz", f_l2mx/1000);
printf("\n The min second oscillator frequency =%f GHz", f_l2mn/1000);
printf("\n The max frequency spectrum =%f GHz", f_s1/1000);
printf("\n The min frequency spectrum =%f GHz", f_s2/1000);