Professional Documents
Culture Documents
CODING
5th SEM E&C
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 0s and 1s 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 ] [ ] .
() =
= 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