The document provides examples of calculating Hamming distances between codewords in different codes. It examines the properties of a code C with minimum Hamming distance of 2, determining that such a code can detect up to 1 error but cannot correct any errors. It also gives two examples of codes C1 and C2, specifying the code length n, number of codewords M, and minimum distance d for each.
The document provides examples of calculating Hamming distances between codewords in different codes. It examines the properties of a code C with minimum Hamming distance of 2, determining that such a code can detect up to 1 error but cannot correct any errors. It also gives two examples of codes C1 and C2, specifying the code length n, number of codewords M, and minimum distance d for each.
The document provides examples of calculating Hamming distances between codewords in different codes. It examines the properties of a code C with minimum Hamming distance of 2, determining that such a code can detect up to 1 error but cannot correct any errors. It also gives two examples of codes C1 and C2, specifying the code length n, number of codewords M, and minimum distance d for each.
(b) Let C be a code with minimum Hamming distance 2e + 1
2e + 1 = 2 2e = 2 – 1 2e = 1 The code can detect up to 1 error. (c) 2e = 1 2e / 2 = 1 / 2 e = 0.5 The code cannot correct any error as 0.5 will be rounded down to 0. 2. Code length (n), Codewords (M), and minimum distance (d) (a) C1={0000, 1100, 0011, 1111} n=4 M=4 d=2