Description Usage Arguments Details Value Author(s) Examples
Generates a block encoder for Hamming block codes.
1 | BlockGenerateEncoderHamming(code.length = 7, data.length = 4)
|
code.length |
Length of the encoded message |
data.length |
Length of the plain message |
The resulting Hamming Code is obtained by constructing a (code.length - data.length) x code.length Parity-Check-Matrix. The columns are the binary vectors of the integers 1 to code.length. Column Permutations are then applied to get the Form (t(A) | Ir). The resulting Generator Matrix is (In | A).
A block encoder represented as a list containing: type, code.length, data.length, 2 Matrices gen.matrix and check.matrix, being the Generator Matrix and the Parity Check Matrix
Benedikt Wimmer
1 2 | # standard Hamming encoder with code-rate = 0.57
BlockGenerateEncoderHamming(7,4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.