Professional Documents
Culture Documents
CODE
Description:
2^r > m + r + 1
r = 0,1,2,3,4 Respectively :
We will put the 2^0>7+0+1 : 1>8 :
false
value of r=0,1,.. 2^1>7+1+1 : 2>9 :
And find that value false
Likewise:
at which our 2^2>7+2+1 : 4>10:
false
condition got 2^3>7+3+1 : 8>11:
satisfied . Let m=7: false
2^4>7+4+1 : 16>12: r=4
TRUE
Example: 1101011
m=7,r=4(as we find previously)
As r=4 which means re have to
add 4 redundancy bits i.e.
r1 , r2 , r4 ,
r8
Total bits =m + r
=> 7+4 = 11
What we do is place redundancy bits in
our message as follows:
Find value of r1,r2,r4,r8:
1 1 0 r8 1 0 1 r4 1 r2 r1
For r1:
11001010100
0 0 0 0
Error detection
Check the error and the bad bit: