in Digital Logic
74 views
0 votes
0 votes
Hamming Distance: We can calculate how much Hamming Distance should be there so that we can correct any wrong bit

Hamming Code: By Hamming Code we can correct any wrong bit.

Questions:

1] Are they both different techniques or there is relation between Hamming Distance and Hamming Code?
or Hamming Distance is a generic concept(we can calculate Hamming Distance in any two numbers).

2] Why should anybody use Hamming Code where we can correct error by Hamming Distance?
in Digital Logic
74 views

1 Answer

0 votes
0 votes
  1. Hamming distance , of two strings of equal length is number of positions at which corresponding symbols are different .  whereas hamming code is a technique to correct the error. for exampple – {abc , abd} here hamming distance is 1 , { 111 , 000} here hamming distance is 3. bcz , position of every bit is different.
  2.  The key significance of the hamming distance is that if two codewords have a Hamming distance of d between them, then it would take d single bit errors to turn one of them into the other.

Related questions