Hamming Code in Computer Network with Example
Hamming code is an error correction method that some redundant bits are placed along with data bits to form a code word.
Steps of Hamming Code calculating r-value:
Checking for error:
Receiver does the step 3 operation stated above on codeword C. After this operation, the bit combination represents a binary number corresponding to a decimal number. If the decimal number is 0 then there is no error. Otherwise, if the decimal number is n then it is concluded that the n-th bit is error-bit.
Example: