summaryrefslogtreecommitdiff
path: root/848/CH1/EX1.4
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /848/CH1/EX1.4
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '848/CH1/EX1.4')
-rwxr-xr-x848/CH1/EX1.4/Example1_4.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/848/CH1/EX1.4/Example1_4.sce b/848/CH1/EX1.4/Example1_4.sce
new file mode 100755
index 000000000..7583efede
--- /dev/null
+++ b/848/CH1/EX1.4/Example1_4.sce
@@ -0,0 +1,13 @@
+//clear//
+//Caption:Shannon Channel Capacity formula
+//Example1.4
+//page 12
+clear;
+clc;
+close;
+B = 10^6; //Bandwidth of noisy channel 10MHZ
+S_N = 1; //signal-to-noise ration is 1
+C = B*log2(1+S_N);
+disp(C,'The maximum capacity for this channel in bits/sec C =')
+//Result
+//The maximum capacity for this channel in bits/sec C = 1000000.