Information Theory: Prepared By: Amit Degada Teaching Assistant, ECED, NIT Surat
Information Theory: Prepared By: Amit Degada Teaching Assistant, ECED, NIT Surat
Prepared by:
Amit Degada
Teaching Assistant,
ECED, NIT Surat
Goal of Today’s Lecture
Information Theory……Some Introduction
Information Measure
Function Determination for Information
Average Information per Symbol
Information rate
Coding
Shannon-Fano Coding
Information Theory
It is a study of Communication Engineering
plus Maths.
Mathematically I(mk) = 0 as Pk 1
It may be zero
Mathematically
Information = F(1/Probability)
Here b may be 2, e or 10
ln v log10 v
log 2 v
ln 2 log10 2
Example
A Source generates one of four symbols
during each interval with probabilities P1=1/2,
P2=1/4, P3= P4=1/8. Find the Information
content of three messages.
Average Information Content
It is necessary to define the information content of
the particular symbol as communication channel
deals with symbol.
Pi 1
i 1
Information rate nH
R
n
r
R rH Bits/sec
Some Maths
H satisfies following Equation
0 H log 2 M
Maximum H Will occur when all the message having equal Probability.
Hence H also shows the uncertainty that which of the symbol will occur.
As H approaches to its maximum Value we can’t determine which message
will occur.
dH d ( p )
0
dp dp
1 p
log 0
p
Verify it by Double differentiation
1
d 2H 1 1
0
dp 2 p 1 p
0 0.5 1
Example
Maximum Information rate
We Know that
R rH
Also
H max log 2 M
Hence
R max r log 2 M
Coding for Discrete memoryless Source
Where
Ni=Code length in Binary
digits (binits)
Coding for Discrete memoryless Source
Efficiency
R H
1
rb N
Coding for Discrete memoryless Source
Kraft’s inequality
M
K 2 Ni
1
i 1
A ½ 00 0 0 0
B ¼ 01 1 01 10
C ¼ 10 10 011 110
D ¼ 11 11 0111 111
Shannon –Fano Coding Technique
Algorithm.
Step 1: Arrange all messages in descending
order of probability.
M1 ½ 0 1 0
M2 1/8/ 1 0 0 3 100
M3 1/8 1 0 1 3 101
M4 1/16 1 1 0 0 4 1100
M5 1/16 1 1 0 1 4 1101
M6 1/16 1 1 1 0 4 1110
M7 1/32 1 1 1 1 0 5 11110
1/32 1 1 1 1 1
This can be downloaded from
www.amitdegada.weebly.com/download