|
D.10.2.13 decode
Procedure from library decodegb.lib (see decodegb_lib).
- Usage:
- decode(check, rec, t); check, rec matrix, t int
| - check is the check matrix of the code,
- rec is a received word,
- t is an upper bound for the number of errors one wants to correct
|
- Note:
- The method described in Decoding method based on quadratic equations
is used for decoding.
- Assume:
- Errors in rec should be correctable, otherwise the output is
unpredictable
- Return:
- a codeword that is closest to rec
Example:
|