summaryrefslogtreecommitdiff
path: root/116/CH11/EX11.2/exa11_2.sce
blob: f8a703198dd3506d7842a3338c13d2ba7d7dcc1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
   
//Example 11.2
 
//Page 513
 
disp('The signal-to-quantizing-noise ratio(SQR) is given in chap3 to be on the order of 36dB, which corresponds to power ratio of 3981.')
 
disp('Using this value in Shannon theorem for the theoretical capacity of a channel yield,') 
 
SNR=3981

C=3100*[log2(1+SNR)]

disp("Result")
 
disp("data rate = 37 kbps")