Different Examples
Example 1.:
Let us choose parameters k=2, n=5 and consider the following code C:
u c
00 00000
01 01101
10 10110
11 11011
In this case, the first ten lines of the 32-row decoding table are as follows
v c u
00000 00000 00
10000 00000 00
01000 00000 00
11000 00000 00
00100 00000 00
10100 10110 10
01100 01101 01
11100 01101 01
00010 00000 00
10010 10110 10
Because the size of the memory is limited, table lookup decoding cannot be used generally. If the value of k is small (k << n) then there are only few code words even in the case of long code lengths. This enables to decode the code word by computing the distances code word by code word.
Example 2.: