SlideShare une entreprise Scribd logo
1  sur  121
Télécharger pour lire hors ligne
INFORMATION THEORY AND
CODING
5th SEM E&C
JAYANTHDWIJESH H P M.tech (DECS)
Assistant Professor – Dept of E&C
B.G.S INSTITUTE OF TECHNOLOGY (B.G.S.I.T)
B.G Nagara, Nagamangala Tq, Mandya District- 571448
FORMULAS FOR REFERENCE
MODULE – 2 (source coding)
 Entropy of source or Average information content of the source.
H(S) = 𝑷𝒊 𝐥𝐨𝐠(
𝟏
𝑷 𝒊
𝒒
𝒊=𝟏 ) bits/symbol or H(S) = 𝑷 𝑲 𝐥𝐨𝐠 𝟐 𝟏 (
𝟏
𝑷 𝑲
𝑵
𝑲=𝟏 ) bits/symbol
 Average length
L = 𝑷𝒊
𝒒
𝒊=𝟏 𝒍𝒊 bits/symbol or L = 𝑷𝒊
𝑵
𝒊=𝟏 𝒍𝒊 bits/symbol
 Source or code efficiency
𝜼 𝑺=
𝑯(𝑺)
𝑳
X 𝟏𝟎𝟎% or 𝜼 𝑪=
𝑯(𝑺)
𝑳
X 𝟏𝟎𝟎%
 Source or code redundancy
𝑹 𝜼 𝑺
= 1- 𝜼 𝑺 = (1 -
𝑯(𝑺)
𝑳
) X 𝟏𝟎𝟎% or 𝑹 𝜼 𝑪
= 1- 𝜼 𝑪 = (1 -
𝑯(𝑺)
𝑳
) X 𝟏𝟎𝟎%
 Compute the number of stages required for the encoding operation, which is
given by
𝒏 =
𝑵−𝒓
𝒓−𝟏
or  =
𝒒−𝒓
𝒓−𝟏
 The probability of “0”s and “1”s and “2” s in the code are found using the
formulas
P (0) =
𝟏
𝑳
[𝐍𝐮𝐦𝐛𝐞𝐫 𝐨𝐟 "0" s in the code for
𝒒
𝒊=𝟏 𝑿𝒊 ] [𝒑𝒊 ] or
P (0) =
𝟏
𝑳
[𝐍𝐮𝐦𝐛𝐞𝐫 𝐨𝐟 "0" s in the code for𝑵
𝒊=𝟏 𝑿𝒊 ] [𝒑𝒊 ] .
P (1) =
𝟏
𝑳
[𝐍𝐮𝐦𝐛𝐞𝐫 𝐨𝐟 "1" s in the code for
𝒒
𝒊=𝟏 𝑿𝒊 ] [𝒑𝒊 ] or
P (1) =
𝟏
𝑳
[𝐍𝐮𝐦𝐛𝐞𝐫 𝐨𝐟 "1" s in the code for𝑵
𝒊=𝟏 𝑿𝒊 ] [𝒑𝒊 ] .
P (2) =
𝟏
𝑳
[𝐍𝐮𝐦𝐛𝐞𝐫 𝐨𝐟 "2" s in the code for
𝒒
𝒊=𝟏 𝑿𝒊 ] [𝒑𝒊 ] or
P (2) =
𝟏
𝑳
[𝐍𝐮𝐦𝐛𝐞𝐫 𝐨𝐟 "2" s in the code for𝑵
𝒊=𝟏 𝑿𝒊 ] [𝒑𝒊 ] .
 The variance of the word length is calculated from
Var ( 𝒍𝒊 ) = E [( 𝒍𝒊 − 𝐋 ) 𝟐
= 𝑷𝒊
𝒒
𝒊=𝟏 ( 𝒍𝒊 − 𝐋 ) 𝟐
 The Smallest integer value of 𝒍𝒊 if found using
𝟐 𝒍 𝒊 
𝟏
𝑷𝒊
or 𝒍𝒊  𝒍𝒐𝒈 𝟐
𝟏
𝑷𝒊
 The average length 𝑳 𝟐 of the 2nd
extension is given by
𝑳 𝟐 = 𝑷𝒊
𝒒
𝒊=𝟏 𝒍𝒊 bits/symbol or 𝑳 𝟐 = 𝑷𝒊
𝑵
𝒊=𝟏 𝒍𝒊 bits/symbol
 The average length 𝑳 𝟑 of the 3rd
extension is given by
𝑳 𝟑 = 𝑷𝒊
𝒒
𝒊=𝟏 𝒍𝒊 bits/symbol or 𝑳 𝟑 = 𝑷𝒊
𝑵
𝒊=𝟏 𝒍𝒊 bits/symbol
 The entropy of the 2nd extended
source is calculated as
H (𝑺 𝟐
) = 2 H(S)
 The entropy of the 3rd extended
source is calculated as
H (𝑺 𝟑
) = 3H(S)
 Source or code efficiency of the 2nd
extended source is
𝜼(𝟐)
𝑺
=
𝐇 (𝑺 𝟐
)
𝑳 𝟐
X 𝟏𝟎𝟎% or 𝜼(𝟐)
𝑪
=
𝐇 (𝑺 𝟐
)
𝑳 𝟐
X 𝟏𝟎𝟎%
 Source or code redundancy of the 2nd
extended source is
𝑹(𝟐)
𝜼 𝑺
= 1- 𝜼(𝟐)
𝑺
= (1 -
𝐇 (𝑺 𝟐)
𝑳 𝟐
) X 𝟏𝟎𝟎% or 𝑹(𝟐)
𝜼 𝑪
= 𝟏 − 𝜼(𝟐)
𝑪
= (1 -
𝐇 (𝑺 𝟐)
𝑳 𝟐
)
𝐗 𝟏𝟎𝟎%
 Source or code efficiency of the 3rd
extended source is
𝜼(𝟑)
𝑺
=
𝐇 (𝑺 𝟑
)
𝑳 𝟑
X 𝟏𝟎𝟎% or 𝜼(𝟑)
𝑪
=
𝐇 (𝑺 𝟑
)
𝟑
X 𝟏𝟎𝟎%
 Source or code redundancy of the 3rd
extended source is
𝑹(𝟑)
𝜼 𝑺
= 1- 𝜼(𝟑)
𝑺
= (1 -
𝐇 (𝑺 𝟑)
𝑳 𝟐
) X 𝟏𝟎𝟎% or 𝑹(𝟑)
𝜼 𝑪
= 𝟏 − 𝜼(𝟑)
𝑪
= (1 -
𝐇 (𝑺 𝟑)
𝑳 𝟑
)
𝐗 𝟏𝟎𝟎%
 The average length 𝑳 𝟑
of the Huffman ternary code is given by
𝑳(𝟑)
= 𝑷𝒊
𝒒
𝒊=𝟏 𝒍𝒊 trinits /Msg- symbol or 𝑳(𝟑)
= 𝑷𝒊
𝑵
𝒊=𝟏 𝒍𝒊 trinits / Msg- symbol
 The average length 𝑳 𝟒
of the Huffman quaternary code is given by
𝑳(𝟒)
= 𝑷𝒊
𝒒
𝒊=𝟏 𝒍𝒊 quaternary digits /Msg- symbol or
𝑳(𝟒)
= 𝑷𝒊
𝑵
𝒊=𝟏 𝒍𝒊 quaternary digits / Msg- symbol
 The entropy in ternary units/ message symbol is found by using equation
𝐇 𝟑(S) =
𝐇(𝐒)
𝒍𝒐𝒈 𝟐 𝟑
ternary units/ message symbol or
𝐇 𝟑(S) = 𝑷 𝑲 𝐥𝐨𝐠 𝟑 𝟏 (
𝟏
𝑷 𝑲
𝑵
𝑲=𝟏 ) ternary units/ message symbol or
𝐇 𝟑(S) = 𝑷𝒊 𝐥𝐨𝐠 𝟑 𝟏 (
𝟏
𝑷 𝒊
𝒒
𝒊=𝟏 ) ternary units/ message symbol
 The entropy in quaternary units/ message symbol is found by using equation
𝐇 𝟒(S) =
𝐇(𝐒)
𝒍𝒐𝒈 𝟐 𝟒
quaternary units/ message symbol or
𝐇 𝟒(S) = 𝑷 𝑲 𝐥𝐨𝐠 𝟒 𝟏 (
𝟏
𝑷 𝑲
𝑵
𝑲=𝟏 ) quaternary units/ message symbol or
𝐇 𝟒(S) = 𝑷𝒊 𝐥𝐨𝐠 𝟒 𝟏 (
𝟏
𝑷 𝒊
𝒒
𝒊=𝟏 ) quaternary units/ message symbol
 Source or code efficiency of the ternary is given by
𝜼 𝒔(𝟑)
=
𝐇 𝟑(𝐒)
𝑳(𝟑)
X 𝟏𝟎𝟎% or 𝜼 𝒄(𝟑)
=
𝐇 𝟑(𝐒)
𝑳(𝟑)
X 𝟏𝟎𝟎% or
𝜼 𝑺=
𝐇 𝟑(𝐒)
𝑳
X 𝟏𝟎𝟎% or 𝜼 𝑪=
𝐇 𝟑(𝐒)
𝑳
X 𝟏𝟎𝟎%
 Source or code efficiency of the quaternary is given by
𝜼 𝒔(𝟒)
=
𝐇 𝟒(𝐒)
𝑳(𝟒)
X 𝟏𝟎𝟎% or 𝜼 𝒄(𝟒)
=
𝐇 𝟒(𝐒)
𝑳(𝟒)
X 𝟏𝟎𝟎% or
𝜼 𝑺=
𝐇 𝟒(𝐒)
𝑳
X 𝟏𝟎𝟎% or 𝜼 𝑪=
𝐇 𝟒(𝐒)
𝑳
X 𝟏𝟎𝟎%
 Source or code redundancy of the ternary is given by
𝑹 𝜼 𝒔(𝟑)
= 1- 𝜼 𝒔(𝟑)
= (1 -
𝐇 𝟑(𝐒)
𝑳(𝟑) ) X 𝟏𝟎𝟎% or
𝑹 𝜼 𝒄(𝟑)
= 𝟏 − 𝜼 𝒄(𝟑)
= (1 -
𝐇 𝟑(𝐒)
𝑳(𝟑) ) 𝐗 𝟏𝟎𝟎% or
𝑹 𝜼 𝑺
= 1- 𝜼 𝑺 = (1 -
𝐇 𝟑(𝐒)
𝑳
) X 𝟏𝟎𝟎% or 𝑹 𝜼 𝑪
= 1- 𝜼 𝑪 = (1 -
𝐇 𝟑(𝐒)
𝑳
) X 𝟏𝟎𝟎%
 Source or code redundancy of the quaternary is given by
𝑹 𝜼 𝒔(𝟒)
= 1- 𝜼 𝒔(𝟒)
= (1 -
𝐇 𝟒(𝐒)
𝑳(𝟒) ) X 𝟏𝟎𝟎% or
𝑹 𝜼 𝒄(𝟒)
= 𝟏 − 𝜼 𝒄(𝟒)
= (1 -
𝐇 𝟒(𝐒)
𝑳(𝟒) ) 𝐗 𝟏𝟎𝟎% or
𝑹 𝜼 𝑺
= 1- 𝜼 𝑺 = (1 -
𝐇 𝟒(𝐒)
𝑳
) X 𝟏𝟎𝟎% or 𝑹 𝜼 𝑪
= 1- 𝜼 𝑪 = (1 -
𝐇 𝟒(𝐒)
𝑳
) X 𝟏𝟎𝟎%
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).

Contenu connexe

Tendances

Towards a theory of semantic communication
Towards a theory of semantic communicationTowards a theory of semantic communication
Towards a theory of semantic communication
Jie Bao
 
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-5 notes(15...
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-5 notes(15...VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-5 notes(15...
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-5 notes(15...
Jayanth Dwijesh H P
 
2. Linear regression with one variable.pptx
2. Linear regression with one variable.pptx2. Linear regression with one variable.pptx
2. Linear regression with one variable.pptx
Emad Nabil
 

Tendances (20)

Towards a theory of semantic communication
Towards a theory of semantic communicationTowards a theory of semantic communication
Towards a theory of semantic communication
 
FDMA
FDMAFDMA
FDMA
 
Digital signal Processing all matlab code with Lab report
Digital signal Processing all matlab code with Lab report Digital signal Processing all matlab code with Lab report
Digital signal Processing all matlab code with Lab report
 
Chapter 19 Variational Inference
Chapter 19 Variational InferenceChapter 19 Variational Inference
Chapter 19 Variational Inference
 
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-5 notes(15...
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-5 notes(15...VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-5 notes(15...
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-5 notes(15...
 
Parsing
ParsingParsing
Parsing
 
solution manual of goldsmith wireless communication
solution manual of goldsmith wireless communicationsolution manual of goldsmith wireless communication
solution manual of goldsmith wireless communication
 
2. Linear regression with one variable.pptx
2. Linear regression with one variable.pptx2. Linear regression with one variable.pptx
2. Linear regression with one variable.pptx
 
Build your own ASR engine
Build your own ASR engineBuild your own ASR engine
Build your own ASR engine
 
1.9. minimization of dfa
1.9. minimization of dfa1.9. minimization of dfa
1.9. minimization of dfa
 
Reed solomon codes
Reed solomon codesReed solomon codes
Reed solomon codes
 
알기쉬운 Variational autoencoder
알기쉬운 Variational autoencoder알기쉬운 Variational autoencoder
알기쉬운 Variational autoencoder
 
Digital Communication: Information Theory
Digital Communication: Information TheoryDigital Communication: Information Theory
Digital Communication: Information Theory
 
Predictive parser
Predictive parserPredictive parser
Predictive parser
 
Souvenir's Booth - Algorithm Design and Analysis Project Project Report
Souvenir's Booth - Algorithm Design and Analysis Project Project ReportSouvenir's Booth - Algorithm Design and Analysis Project Project Report
Souvenir's Booth - Algorithm Design and Analysis Project Project Report
 
Coin Change : Greedy vs Dynamic Programming
Coin Change : Greedy vs Dynamic ProgrammingCoin Change : Greedy vs Dynamic Programming
Coin Change : Greedy vs Dynamic Programming
 
BCH Codes
BCH CodesBCH Codes
BCH Codes
 
Lect 11.regenerative repeaters
Lect 11.regenerative repeatersLect 11.regenerative repeaters
Lect 11.regenerative repeaters
 
static dictionary technique
static dictionary techniquestatic dictionary technique
static dictionary technique
 
Deep speech
Deep speechDeep speech
Deep speech
 

Similaire à VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).

VTU E&C,TCE CBCS[NEW]5th Sem Information Theory and Coding Module-3 notes(15&...
VTU E&C,TCE CBCS[NEW]5th Sem Information Theory and Coding Module-3 notes(15&...VTU E&C,TCE CBCS[NEW]5th Sem Information Theory and Coding Module-3 notes(15&...
VTU E&C,TCE CBCS[NEW]5th Sem Information Theory and Coding Module-3 notes(15&...
Jayanth Dwijesh H P
 
Investigation of-combined-use-of-mfcc-and-lpc-features-in-speech-recognition-...
Investigation of-combined-use-of-mfcc-and-lpc-features-in-speech-recognition-...Investigation of-combined-use-of-mfcc-and-lpc-features-in-speech-recognition-...
Investigation of-combined-use-of-mfcc-and-lpc-features-in-speech-recognition-...
Cemal Ardil
 

Similaire à VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme). (20)

VTU E&C,TCE CBCS[NEW]5th Sem Information Theory and Coding Module-3 notes(15&...
VTU E&C,TCE CBCS[NEW]5th Sem Information Theory and Coding Module-3 notes(15&...VTU E&C,TCE CBCS[NEW]5th Sem Information Theory and Coding Module-3 notes(15&...
VTU E&C,TCE CBCS[NEW]5th Sem Information Theory and Coding Module-3 notes(15&...
 
Signals and systems-5
Signals and systems-5Signals and systems-5
Signals and systems-5
 
Direction of arrival estimation using music algorithm
Direction of arrival estimation using music algorithmDirection of arrival estimation using music algorithm
Direction of arrival estimation using music algorithm
 
Direction of arrival estimation using music algorithm
Direction of arrival estimation using music algorithmDirection of arrival estimation using music algorithm
Direction of arrival estimation using music algorithm
 
Numerical differentiation and integration
Numerical differentiation and integrationNumerical differentiation and integration
Numerical differentiation and integration
 
unit-4.ppt
unit-4.pptunit-4.ppt
unit-4.ppt
 
unit 4.ppt
unit 4.pptunit 4.ppt
unit 4.ppt
 
ECG Classification using Dynamic High Pass Filtering and Statistical Framewor...
ECG Classification using Dynamic High Pass Filtering and Statistical Framewor...ECG Classification using Dynamic High Pass Filtering and Statistical Framewor...
ECG Classification using Dynamic High Pass Filtering and Statistical Framewor...
 
6.1-Information Sources and Entropy.pptx
6.1-Information Sources and Entropy.pptx6.1-Information Sources and Entropy.pptx
6.1-Information Sources and Entropy.pptx
 
Relation between Information Leakage and Combinatorial Quantities of Linear C...
Relation between Information Leakage and Combinatorial Quantities of Linear C...Relation between Information Leakage and Combinatorial Quantities of Linear C...
Relation between Information Leakage and Combinatorial Quantities of Linear C...
 
NEW METHOD OF SIGNAL DENOISING BY THE PAIRED TRANSFORM
NEW METHOD OF SIGNAL DENOISING BY THE PAIRED TRANSFORMNEW METHOD OF SIGNAL DENOISING BY THE PAIRED TRANSFORM
NEW METHOD OF SIGNAL DENOISING BY THE PAIRED TRANSFORM
 
NEW METHOD OF SIGNAL DENOISING BY THE PAIRED TRANSFORM
NEW METHOD OF SIGNAL DENOISING BY THE PAIRED TRANSFORMNEW METHOD OF SIGNAL DENOISING BY THE PAIRED TRANSFORM
NEW METHOD OF SIGNAL DENOISING BY THE PAIRED TRANSFORM
 
NEW METHOD OF SIGNAL DENOISING BY THE PAIRED TRANSFORM
NEW METHOD OF SIGNAL DENOISING BY THE PAIRED TRANSFORMNEW METHOD OF SIGNAL DENOISING BY THE PAIRED TRANSFORM
NEW METHOD OF SIGNAL DENOISING BY THE PAIRED TRANSFORM
 
Investigation of-combined-use-of-mfcc-and-lpc-features-in-speech-recognition-...
Investigation of-combined-use-of-mfcc-and-lpc-features-in-speech-recognition-...Investigation of-combined-use-of-mfcc-and-lpc-features-in-speech-recognition-...
Investigation of-combined-use-of-mfcc-and-lpc-features-in-speech-recognition-...
 
Closed-Form Performance Analysis of Dual Polarization Based MIMO System in Sh...
Closed-Form Performance Analysis of Dual Polarization Based MIMO System in Sh...Closed-Form Performance Analysis of Dual Polarization Based MIMO System in Sh...
Closed-Form Performance Analysis of Dual Polarization Based MIMO System in Sh...
 
Monotone likelihood ratio test
Monotone likelihood ratio testMonotone likelihood ratio test
Monotone likelihood ratio test
 
A Non Parametric Estimation Based Underwater Target Classifier
A Non Parametric Estimation Based Underwater Target ClassifierA Non Parametric Estimation Based Underwater Target Classifier
A Non Parametric Estimation Based Underwater Target Classifier
 
signals and systems chapter3-part3_signals and systems chapter3-part3.pdf
signals and systems chapter3-part3_signals and systems chapter3-part3.pdfsignals and systems chapter3-part3_signals and systems chapter3-part3.pdf
signals and systems chapter3-part3_signals and systems chapter3-part3.pdf
 
Cryptographic system in polynomial residue classes for channels with noise an...
Cryptographic system in polynomial residue classes for channels with noise an...Cryptographic system in polynomial residue classes for channels with noise an...
Cryptographic system in polynomial residue classes for channels with noise an...
 
Physical security with power beacon assisted in half-duplex relaying networks...
Physical security with power beacon assisted in half-duplex relaying networks...Physical security with power beacon assisted in half-duplex relaying networks...
Physical security with power beacon assisted in half-duplex relaying networks...
 

Plus de Jayanth Dwijesh H P

Network and cyber security module(15ec835, 17ec835)
Network and cyber security module(15ec835, 17ec835)Network and cyber security module(15ec835, 17ec835)
Network and cyber security module(15ec835, 17ec835)
Jayanth Dwijesh H P
 
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-4 notes(15...
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-4 notes(15...VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-4 notes(15...
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-4 notes(15...
Jayanth Dwijesh H P
 

Plus de Jayanth Dwijesh H P (10)

Network and cyber security module(15ec835, 17ec835)
Network and cyber security module(15ec835, 17ec835)Network and cyber security module(15ec835, 17ec835)
Network and cyber security module(15ec835, 17ec835)
 
VTU Network & cyber security (1-5 Module) Full notes
VTU Network & cyber security (1-5 Module) Full notesVTU Network & cyber security (1-5 Module) Full notes
VTU Network & cyber security (1-5 Module) Full notes
 
Vtu network security(10 ec832) unit 3 notes.
Vtu network security(10 ec832) unit 3 notes.Vtu network security(10 ec832) unit 3 notes.
Vtu network security(10 ec832) unit 3 notes.
 
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-4 notes(15...
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-4 notes(15...VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-4 notes(15...
VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-4 notes(15...
 
Network security 10EC832 vtu notes
Network security 10EC832 vtu notesNetwork security 10EC832 vtu notes
Network security 10EC832 vtu notes
 
VTU network security(10 ec832) unit 6 notes
VTU network security(10 ec832) unit 6 notesVTU network security(10 ec832) unit 6 notes
VTU network security(10 ec832) unit 6 notes
 
Vtu network security(10 ec832) unit 5 notes.
Vtu network security(10 ec832) unit 5 notes.Vtu network security(10 ec832) unit 5 notes.
Vtu network security(10 ec832) unit 5 notes.
 
Vtu network security(10 ec832) unit 2 notes..
Vtu network security(10 ec832) unit 2 notes..Vtu network security(10 ec832) unit 2 notes..
Vtu network security(10 ec832) unit 2 notes..
 
Vtu network security(10 ec832) unit 1 notes
Vtu network security(10 ec832) unit 1 notesVtu network security(10 ec832) unit 1 notes
Vtu network security(10 ec832) unit 1 notes
 
VTU CBCS E&C 5th sem Information theory and coding(15EC54) Module -2notes
VTU CBCS E&C 5th sem Information theory and coding(15EC54) Module -2notesVTU CBCS E&C 5th sem Information theory and coding(15EC54) Module -2notes
VTU CBCS E&C 5th sem Information theory and coding(15EC54) Module -2notes
 

Dernier

notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
MsecMca
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Christo Ananth
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 

Dernier (20)

(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 

VTU E&C,TCE CBCS[NEW] 5th Sem Information Theory and Coding Module-2 notes(15&17scheme).

  • 1. INFORMATION THEORY AND CODING 5th SEM E&C JAYANTHDWIJESH H P M.tech (DECS) Assistant Professor – Dept of E&C B.G.S INSTITUTE OF TECHNOLOGY (B.G.S.I.T) B.G Nagara, Nagamangala Tq, Mandya District- 571448
  • 2. FORMULAS FOR REFERENCE MODULE – 2 (source coding)  Entropy of source or Average information content of the source. H(S) = 𝑷𝒊 𝐥𝐨𝐠( 𝟏 𝑷 𝒊 𝒒 𝒊=𝟏 ) bits/symbol or H(S) = 𝑷 𝑲 𝐥𝐨𝐠 𝟐 𝟏 ( 𝟏 𝑷 𝑲 𝑵 𝑲=𝟏 ) bits/symbol  Average length L = 𝑷𝒊 𝒒 𝒊=𝟏 𝒍𝒊 bits/symbol or L = 𝑷𝒊 𝑵 𝒊=𝟏 𝒍𝒊 bits/symbol  Source or code efficiency 𝜼 𝑺= 𝑯(𝑺) 𝑳 X 𝟏𝟎𝟎% or 𝜼 𝑪= 𝑯(𝑺) 𝑳 X 𝟏𝟎𝟎%  Source or code redundancy 𝑹 𝜼 𝑺 = 1- 𝜼 𝑺 = (1 - 𝑯(𝑺) 𝑳 ) X 𝟏𝟎𝟎% or 𝑹 𝜼 𝑪 = 1- 𝜼 𝑪 = (1 - 𝑯(𝑺) 𝑳 ) X 𝟏𝟎𝟎%  Compute the number of stages required for the encoding operation, which is given by 𝒏 = 𝑵−𝒓 𝒓−𝟏 or  = 𝒒−𝒓 𝒓−𝟏  The probability of “0”s and “1”s and “2” s in the code are found using the formulas P (0) = 𝟏 𝑳 [𝐍𝐮𝐦𝐛𝐞𝐫 𝐨𝐟 "0" s in the code for 𝒒 𝒊=𝟏 𝑿𝒊 ] [𝒑𝒊 ] or P (0) = 𝟏 𝑳 [𝐍𝐮𝐦𝐛𝐞𝐫 𝐨𝐟 "0" s in the code for𝑵 𝒊=𝟏 𝑿𝒊 ] [𝒑𝒊 ] . P (1) = 𝟏 𝑳 [𝐍𝐮𝐦𝐛𝐞𝐫 𝐨𝐟 "1" s in the code for 𝒒 𝒊=𝟏 𝑿𝒊 ] [𝒑𝒊 ] or P (1) = 𝟏 𝑳 [𝐍𝐮𝐦𝐛𝐞𝐫 𝐨𝐟 "1" s in the code for𝑵 𝒊=𝟏 𝑿𝒊 ] [𝒑𝒊 ] . P (2) = 𝟏 𝑳 [𝐍𝐮𝐦𝐛𝐞𝐫 𝐨𝐟 "2" s in the code for 𝒒 𝒊=𝟏 𝑿𝒊 ] [𝒑𝒊 ] or P (2) = 𝟏 𝑳 [𝐍𝐮𝐦𝐛𝐞𝐫 𝐨𝐟 "2" s in the code for𝑵 𝒊=𝟏 𝑿𝒊 ] [𝒑𝒊 ] .  The variance of the word length is calculated from Var ( 𝒍𝒊 ) = E [( 𝒍𝒊 − 𝐋 ) 𝟐 = 𝑷𝒊 𝒒 𝒊=𝟏 ( 𝒍𝒊 − 𝐋 ) 𝟐  The Smallest integer value of 𝒍𝒊 if found using 𝟐 𝒍 𝒊  𝟏 𝑷𝒊 or 𝒍𝒊  𝒍𝒐𝒈 𝟐 𝟏 𝑷𝒊  The average length 𝑳 𝟐 of the 2nd extension is given by 𝑳 𝟐 = 𝑷𝒊 𝒒 𝒊=𝟏 𝒍𝒊 bits/symbol or 𝑳 𝟐 = 𝑷𝒊 𝑵 𝒊=𝟏 𝒍𝒊 bits/symbol
  • 3.  The average length 𝑳 𝟑 of the 3rd extension is given by 𝑳 𝟑 = 𝑷𝒊 𝒒 𝒊=𝟏 𝒍𝒊 bits/symbol or 𝑳 𝟑 = 𝑷𝒊 𝑵 𝒊=𝟏 𝒍𝒊 bits/symbol  The entropy of the 2nd extended source is calculated as H (𝑺 𝟐 ) = 2 H(S)  The entropy of the 3rd extended source is calculated as H (𝑺 𝟑 ) = 3H(S)  Source or code efficiency of the 2nd extended source is 𝜼(𝟐) 𝑺 = 𝐇 (𝑺 𝟐 ) 𝑳 𝟐 X 𝟏𝟎𝟎% or 𝜼(𝟐) 𝑪 = 𝐇 (𝑺 𝟐 ) 𝑳 𝟐 X 𝟏𝟎𝟎%  Source or code redundancy of the 2nd extended source is 𝑹(𝟐) 𝜼 𝑺 = 1- 𝜼(𝟐) 𝑺 = (1 - 𝐇 (𝑺 𝟐) 𝑳 𝟐 ) X 𝟏𝟎𝟎% or 𝑹(𝟐) 𝜼 𝑪 = 𝟏 − 𝜼(𝟐) 𝑪 = (1 - 𝐇 (𝑺 𝟐) 𝑳 𝟐 ) 𝐗 𝟏𝟎𝟎%  Source or code efficiency of the 3rd extended source is 𝜼(𝟑) 𝑺 = 𝐇 (𝑺 𝟑 ) 𝑳 𝟑 X 𝟏𝟎𝟎% or 𝜼(𝟑) 𝑪 = 𝐇 (𝑺 𝟑 ) 𝟑 X 𝟏𝟎𝟎%  Source or code redundancy of the 3rd extended source is 𝑹(𝟑) 𝜼 𝑺 = 1- 𝜼(𝟑) 𝑺 = (1 - 𝐇 (𝑺 𝟑) 𝑳 𝟐 ) X 𝟏𝟎𝟎% or 𝑹(𝟑) 𝜼 𝑪 = 𝟏 − 𝜼(𝟑) 𝑪 = (1 - 𝐇 (𝑺 𝟑) 𝑳 𝟑 ) 𝐗 𝟏𝟎𝟎%  The average length 𝑳 𝟑 of the Huffman ternary code is given by 𝑳(𝟑) = 𝑷𝒊 𝒒 𝒊=𝟏 𝒍𝒊 trinits /Msg- symbol or 𝑳(𝟑) = 𝑷𝒊 𝑵 𝒊=𝟏 𝒍𝒊 trinits / Msg- symbol  The average length 𝑳 𝟒 of the Huffman quaternary code is given by 𝑳(𝟒) = 𝑷𝒊 𝒒 𝒊=𝟏 𝒍𝒊 quaternary digits /Msg- symbol or 𝑳(𝟒) = 𝑷𝒊 𝑵 𝒊=𝟏 𝒍𝒊 quaternary digits / Msg- symbol  The entropy in ternary units/ message symbol is found by using equation 𝐇 𝟑(S) = 𝐇(𝐒) 𝒍𝒐𝒈 𝟐 𝟑 ternary units/ message symbol or 𝐇 𝟑(S) = 𝑷 𝑲 𝐥𝐨𝐠 𝟑 𝟏 ( 𝟏 𝑷 𝑲 𝑵 𝑲=𝟏 ) ternary units/ message symbol or 𝐇 𝟑(S) = 𝑷𝒊 𝐥𝐨𝐠 𝟑 𝟏 ( 𝟏 𝑷 𝒊 𝒒 𝒊=𝟏 ) ternary units/ message symbol  The entropy in quaternary units/ message symbol is found by using equation 𝐇 𝟒(S) = 𝐇(𝐒) 𝒍𝒐𝒈 𝟐 𝟒 quaternary units/ message symbol or
  • 4. 𝐇 𝟒(S) = 𝑷 𝑲 𝐥𝐨𝐠 𝟒 𝟏 ( 𝟏 𝑷 𝑲 𝑵 𝑲=𝟏 ) quaternary units/ message symbol or 𝐇 𝟒(S) = 𝑷𝒊 𝐥𝐨𝐠 𝟒 𝟏 ( 𝟏 𝑷 𝒊 𝒒 𝒊=𝟏 ) quaternary units/ message symbol  Source or code efficiency of the ternary is given by 𝜼 𝒔(𝟑) = 𝐇 𝟑(𝐒) 𝑳(𝟑) X 𝟏𝟎𝟎% or 𝜼 𝒄(𝟑) = 𝐇 𝟑(𝐒) 𝑳(𝟑) X 𝟏𝟎𝟎% or 𝜼 𝑺= 𝐇 𝟑(𝐒) 𝑳 X 𝟏𝟎𝟎% or 𝜼 𝑪= 𝐇 𝟑(𝐒) 𝑳 X 𝟏𝟎𝟎%  Source or code efficiency of the quaternary is given by 𝜼 𝒔(𝟒) = 𝐇 𝟒(𝐒) 𝑳(𝟒) X 𝟏𝟎𝟎% or 𝜼 𝒄(𝟒) = 𝐇 𝟒(𝐒) 𝑳(𝟒) X 𝟏𝟎𝟎% or 𝜼 𝑺= 𝐇 𝟒(𝐒) 𝑳 X 𝟏𝟎𝟎% or 𝜼 𝑪= 𝐇 𝟒(𝐒) 𝑳 X 𝟏𝟎𝟎%  Source or code redundancy of the ternary is given by 𝑹 𝜼 𝒔(𝟑) = 1- 𝜼 𝒔(𝟑) = (1 - 𝐇 𝟑(𝐒) 𝑳(𝟑) ) X 𝟏𝟎𝟎% or 𝑹 𝜼 𝒄(𝟑) = 𝟏 − 𝜼 𝒄(𝟑) = (1 - 𝐇 𝟑(𝐒) 𝑳(𝟑) ) 𝐗 𝟏𝟎𝟎% or 𝑹 𝜼 𝑺 = 1- 𝜼 𝑺 = (1 - 𝐇 𝟑(𝐒) 𝑳 ) X 𝟏𝟎𝟎% or 𝑹 𝜼 𝑪 = 1- 𝜼 𝑪 = (1 - 𝐇 𝟑(𝐒) 𝑳 ) X 𝟏𝟎𝟎%  Source or code redundancy of the quaternary is given by 𝑹 𝜼 𝒔(𝟒) = 1- 𝜼 𝒔(𝟒) = (1 - 𝐇 𝟒(𝐒) 𝑳(𝟒) ) X 𝟏𝟎𝟎% or 𝑹 𝜼 𝒄(𝟒) = 𝟏 − 𝜼 𝒄(𝟒) = (1 - 𝐇 𝟒(𝐒) 𝑳(𝟒) ) 𝐗 𝟏𝟎𝟎% or 𝑹 𝜼 𝑺 = 1- 𝜼 𝑺 = (1 - 𝐇 𝟒(𝐒) 𝑳 ) X 𝟏𝟎𝟎% or 𝑹 𝜼 𝑪 = 1- 𝜼 𝑪 = (1 - 𝐇 𝟒(𝐒) 𝑳 ) X 𝟏𝟎𝟎%