diff options
Diffstat (limited to '1895/CH8/EX8.6/EXAMPLE8_6.SCE')
-rwxr-xr-x | 1895/CH8/EX8.6/EXAMPLE8_6.SCE | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/1895/CH8/EX8.6/EXAMPLE8_6.SCE b/1895/CH8/EX8.6/EXAMPLE8_6.SCE new file mode 100755 index 000000000..284b5b307 --- /dev/null +++ b/1895/CH8/EX8.6/EXAMPLE8_6.SCE @@ -0,0 +1,19 @@ +//ANALOG AND DIGITAL COMMUNICATION
+//BY Dr.SANJAY SHARMA
+//CHAPTER 7
+//WAVEFORM CODING TECHNIQUES
+clear all;
+clc;
+printf("EXAMPLE 8.6(PAGENO 389)");
+
+//given
+v = 7//bits of encoder
+r = 50*10^6//bit rate of the system
+
+//calculations
+f_m = r/(2*v)//maximum message bandwidth which is less than or equal to obtained value
+SbyN_dB = 1.8 + 6*v//signal to noise ratio in dB
+
+//results
+printf("\n\ni.Maximum message bandwidth = %.2f Hz",f_m);
+printf("\n\nii.Signal to noise ratio when modulating frquency is 1MHz applied = %.2f dB",SbyN_dB)
|