and
then the Hamming distance between
The minimum distance decoder selects the code word "closest" in Hamming
distance to the received message. A minimum distance decoder can correct
m errors where m is the largest integer not to exceed
where
is the minimum distance between any two valid code words.
Example of Hamming Distances