What is the distance of the following code $000000$, $010101$, $000111$, $011001$, $111111$?
Distance (also called min-distance) of a block code is the minimum number of positions in which any two distinct codes differ. Here, min-distance occurs for the codes $2$ and $3$ and they differ only in $2$ positions. So, $d = 2$.
@Arjun Sir, do we need to check each codeword distance to every other codeword, or just go sequentially?
Check the solution
and Answer is 2
Can someone help me understand examples on...