Hamming code: Difference between revisions

Content deleted Content added
Line 173:
Since [7,&nbsp;4,&nbsp;3] =&nbsp;[''n'',&nbsp;''k'',&nbsp;''d''] =&nbsp;[2<sup>''m''</sup>&nbsp;−&nbsp;1, 2<sup>''m''</sup>&nbsp;−&nbsp;1&nbsp;−&nbsp;''m'',&nbsp;3]. The [[parity-check matrix]] '''H''' of a Hamming code is constructed by listing all columns of length ''m'' that are pair-wise independent.
 
Thus '''H''' is a matrix whose left side is all of the nonzero ''n''-tuples where order of the ''n''-tuples in the columns of matrix does not matter. The right hand side is just the (''n''&nbsp;−&nbsp;''k'')-[[identity matrix]].
 
So '''G''' can be obtained from '''H''' by taking the transpose of the left hand side of '''H''' with the identity ''k''-[[identity matrix]] on the left hand side of&nbsp;'''G'''.