summaryrefslogtreecommitdiff
path: root/3542/CH6/EX6.6/Ex6_6.sce
blob: dd18590927f5617130e524a2d36719977e952877 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Example no 6.6
// To determine the maximum theoretical datarate and to compare this rate to US digital cellular standard
// Page no. 280

clc;
clear all;

// Given data
SNR=20;                                            // Signal to noise ratio of wireless communication link in dB
B=30*10^3;                                         // RF bandwidth in Hz
SNR=10^(SNR/10);                                   // Signal to noise ratio of wireless communication link

// To determine the maximum theoretical datarate 
C=B*(log10(1+SNR)/log10(2));                       // The maximum theoretical datarate in bps

// Displaying the result in command window
printf('\n The maximum theoretical datarate = %0.2f kbps',C*10^-3);
printf('\n The USDC data rate is 48.6 kbps, which is only about one fourth the theoretical limit under 20dB SNR condition.');