From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 992/CH9/EX9.9/ex9_9.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 992/CH9/EX9.9/ex9_9.txt (limited to '992/CH9/EX9.9/ex9_9.txt') diff --git a/992/CH9/EX9.9/ex9_9.txt b/992/CH9/EX9.9/ex9_9.txt new file mode 100755 index 000000000..9038b7cee --- /dev/null +++ b/992/CH9/EX9.9/ex9_9.txt @@ -0,0 +1,13 @@ +//Caption:Program to calculate the capacity of a standard telephone channel. +//Exa:9.9 +clc; +clear; +close; +//Given: +SNR=32; +Actual_snr=10^(SNR/10); +w1=300;//in Hz +w2=3400;//in Hz +w=w2-w1; +c=w*log2(1+Actual_snr); +printf("\n Capacity=%f bits/sec",c); \ No newline at end of file -- cgit