Determine the weight distribution of the (7, 4) Hamming code, and check your result with the list…

Determine the weight distribution of the (7, 4) Hamming code, and check your result with the list of code words given in Table 7.9–2.