Professional Documents
Culture Documents
in
4 CREDITS
KTUStudents.in
and channel coding theorem for designing an efficient and
error free communication link.
3. Analyze various coding schemes for error detection and
correction
4. Design an optimum decoder for various coding schemes.
KTUStudents.in
KTUStudents.in
KTUStudents.in
Source input can be voice, video, text, sensor output …
KTUStudents.in
information, information rate.
Source coding: Instantaneous codes, construction of
instantaneous codes, Kraft‘s inequality, coding
efficiency and redundancy
KTUStudents.in
Also probabilities must satisfy the condition,
1.
2. KTUStudents.in
3.
4.
if sk and sl are statistically independent.
For more study materials: WWW.KTUSTUDENTS.IN
UNITS OF INFORMATION
The base of logarithm in equation (4) is quite arbitrary.
If the base is 3, unit of information is Triples.
If the base is 4, unit of information is Quadruples.
KTUStudents.in
If the base is 10, unit will be Hartley’s.
If the base is e (natural logarithm), unit is Nats.
In the context of digital communication, the base is taken
as 2
If the base is 2, unit is BIT.
One bit is the amount of information that we gain when
one of two possible and equally likely (equiprobable) event
occurs.
For more study materials: WWW.KTUSTUDENTS.IN
UNITS OF INFORMATION
1 Hartley = 3.322 bits.
1 Nat = 1.443 bits.
KTUStudents.in
1 Triple = 1.585 bits.
KTUStudents.in
(9)
KTUStudents.in
KTUStudents.in
‘H’ is entropy
2. KTUStudents.in
if and only if p = (1/K) for all k (i.e.,
all the symbols in the alphabet
k
are equiprobable);
this upper bound on entropy corresponds to
maximum uncertainty .
So entropy is bounded by:
KTUStudents.in
Symbol ‘0’ occurs with probability p0 and
Symbol ‘1’ with probability p1 = 1 – p0.
Then entropy is given by:
KTUStudents.in
KTUStudents.in(11)
Entropy of extended source:
KTUStudents.in
KTUStudents.in
KTUStudents.in
The mean of entropy over the output alphabet Y is
(1)
For more study materials: WWW.KTUSTUDENTS.IN
CONDITIONAL ENTROPY
The quantity is called a conditional entropy. It represents
the amount of uncertainty remaining about the channel input after
the channel output has been observed.
KTUStudents.in
Similarly for H(Y/X)
KTUStudents.in
= H(Y) + H(X/Y)
KTUStudents.in
observed.
The quantity represents the uncertainty about the
channel input before observing the channel output.
Difference - must represent the uncertainty
about the channel input that is resolved by observing the
channel output. This important quantity is called the mutual
information of the channel denoted by
Similarly,
KTUStudents.in
2. The mutual information is always nonnegative
KTUStudents.in
(2)
(2) – (1), we get
Substituting in (3)
KTUStudents.in
Hence the proof.
KTUStudents.in
Fundamental Inequality:
(4)
KTUStudents.in
Multiply both numerator and denominator by
p(x )p(y ) and rewrite (4) as folows
j k
(5)
KTUStudents.in
KTUStudents.in
We get
Therefore
Hence the Proof.
KTUStudents.in
KTUStudents.in
Long code words are used for rare source symbols.
The code words produced by the encoder should be in
binary form.
More compression and quality is the main concern
The source code is uniquely decodable, so that the
original source sequence can be reconstructed
perfectly from the encoded binary sequence.
KTUStudents.in
Symbol Occurrence
s0 0.5 0 0 0
s1 0.25 1 10 01
s2 0.125 00 110 011
s3 0.125 11 111 0111
KTUStudents.in
KTUStudents.in
a prefix code for a given set of codeword lengths
Kraft-Mc Millan Inequality:
KTUStudents.in
Code II & Code III are satisfying Kraft Inequality.
So Code II is prefix code or instantaneous code.
KTUStudents.in
Instantaneous Code should satisfy Kraft Mc Millan
Inequality
Instantaneous Code will be uniquely decodable.
KTUStudents.in
Code efficiency:
KTUStudents.in
4. KTUStudents.in
different units of information.
Derive relations among entropies for transmitting a
message and receiving it as Y.
5. Write the properties of instantaneous code with
examples.
6. Derive a relation for entropy. Find the optimum entropy
for a binary source.
7. Show that mutual information is always positive.
KTUStudents.in
KTUStudents.in
KTUStudents.in
KTUStudents.in
KTUStudents.in
KTUStudents.in