syndtable

Produce syndrome decoding table

Syntax

t = syndtable(h)

Description

t = syndtable(h) returns a decoding table for an error-correcting binary code having codeword length n and message length k. h is an (n-k)-by-n parity-check matrix for the code. t is a 2n-k-by-n binary matrix. The rth row of t is an error pattern for a received binary codeword whose syndrome has decimal integer value r-1. (The syndrome of a received codeword is its product with the transpose of the parity-check matrix.) In other words, the rows of t represent the coset leaders from the code's standard array.

When converting between binary and decimal values, the leftmost column is interpreted as the most significant digit. This differs from the default convention in the bi2de and de2bi commands.

Examples

An example is in Decoding Table.

More About

References

[1] Clark, George C., Jr., and J. Bibb Cain, Error-Correction Coding for Digital Communications, New York, Plenum, 1981.

See Also

| |

Was this topic helpful?