blob: 5cc3ba22a4dd0800e50ea1f1e77915637340ebc3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
//ANALOG AND DIGITAL COMMUNICATION
//BY Dr.SANJAY SHARMA
//CHAPTER 7
//WAVEFORM CODING TECHNIQUES
clear all;
clc;
printf("EXAMPLE 8.16(PAGENO 407)");
//given
r = 64*10^3//data rate
f_s = 8*10^3//sampling frequency
N = 8//number of samples
//calcualtion
SNR_q = 1.8 + 6*N//signal to noise ratio
//result
printf("\n\nSignla to noise ratio = %.2f dB",SNR_q);
printf("\n\nThe SNR of a DM system is 27.94dB which is too poor as \ncompared to 49.8db of an 8 bit PCM system. Thus, for all\n the simplicity of Dm,it cannot perform as well as an\n 8 bit PCM")
|