There are eight distinct syndromes. These can be divided into seven non-zero syndromes -- that's one for each of the one-bit error patterns -- and the all-zero syndrome, corresponding to the zero-noise case.
The optimal decoder takes no action if the syndrome is zero, otherwise it uses this mapping of non-zero syndromes onto one-bit error patterns to unflip the suspect bit.
There is a decoding error if the four decoded bits
do not all match the source bits
. The probability of block error
is
the probability that one or more of the decoded bits in one block fail to
match the corresponding source bits,
![]()
The probability of bit error
is
the average probability per decoded bit
that a decoded bit fails to
match the corresponding source bit,
![]()
In the case of the Hamming code,
a decoding error will occur whenever the noise has flipped more than
one bit in a block of seven.
The probability of block error is thus the probability of two or more
bits' being flipped in a block. This probability goes as
, like the
probability of error for R3. But notice that the Hamming code
communicates at a greater rate, R=4/7.
Figure 1.11 shows a binary image transmitted over a binary symmetric channel using the (7,4) Hamming code. About 7% of the decoded bits are in error. Notice that the errors are correlated with each other: often two or three successive bits are flipped.
Decode the received strings:
Evaluate the probability of error of this decoder and compare it with the
probability of error of the optimal decoder for
.
Does the concatenated encoder and decoder
have any advantages over
that of
?