summaryrefslogtreecommitdiff
path: root/1895/CH11/EX11.35/EXAMPLE11_35.SCE
diff options
context:
space:
mode:
Diffstat (limited to '1895/CH11/EX11.35/EXAMPLE11_35.SCE')
-rwxr-xr-x1895/CH11/EX11.35/EXAMPLE11_35.SCE18
1 files changed, 18 insertions, 0 deletions
diff --git a/1895/CH11/EX11.35/EXAMPLE11_35.SCE b/1895/CH11/EX11.35/EXAMPLE11_35.SCE
new file mode 100755
index 000000000..f8d6be39b
--- /dev/null
+++ b/1895/CH11/EX11.35/EXAMPLE11_35.SCE
@@ -0,0 +1,18 @@
+//ANALOG AND DIGITAL COMMUNICATION
+//BY Dr.SANJAY SHARMA
+//CHAPTER 11
+//Information Theory
+clear all;
+clc;
+printf("EXAMPLE 11.35(PAGENO 520)");
+//given
+B = 4000//bandwidth of AWGN channel
+S = .1*10^-3//power of signal
+neta = 2*10^-12//spectral dencity
+N = neta*B;//power
+
+//calculations
+C = B * log2(1 + (S/N));//capacity of channel
+
+//result
+printf("\n\nCapacity of channel = %.2f b/s",C);