Generator matrix
In coding theory, a generator matrix is a matrix whose rows form a basis for a linear code.[src] The codewords are all of the linear combinations of the rows of this matrix, that is, the linear code is the row space of its generator matrix.[src]
In coding theory, a generator matrix is a matrix whose rows form a basis for a linear code.[src] The codewords are all of the linear combinations of the rows of this matrix, that is, the linear code is the row space of its generator matrix.[src] ==Terminology== If G is a matrix, it generates the codewords of a linear code C by w=sG where w is a codeword of the linear code C, and s is any input vector.[src] Both w and s are assumed to be row vectors.[src] A generator matrix for a linear [n, k, d]_q -code has format k \times n , where n is the length of a codeword, k is the number of information bits (the dimension of C as a vector subspace), d is the minimum distance of the code, and q is size of the finite field, that is, the number of symbols in the alphabet (thus, q = 2 indicates a binary code, etc.).[src] The number of redundant bits is denoted by r = n - k .[src] The standard form for a generator matrix is, G = \begin{bmatrix} I_k | P \end{bmatrix} , where I_k is the k \times k identity matrix and P is a k \times (n-k) matrix.[src] When the generator matrix is in standard form, the code C is systematic in its first k coordinate positions.[src] A generator matrix can be used to construct the parity check matrix for a code (and vice versa).[src] If the generator matrix G is in standard form, G = \begin{bmatrix} I_k | P \end{bmatrix} , then the parity check matrix for C is H = \begin{bmatrix} -P^{\top} | I_{n-k} \end{bmatrix} , where P^{\top} is the transpose of the matrix P .[src] This is a consequence of the fact that a parity check matrix of C is a generator matrix of the dual code C^{\perp} .[src] G is a k \times n matrix, while H is a (n-k) \times n matrix.[src] ==Equivalent codes== Codes C 1 and C 2 are equivalent (denoted C 1 ~ C 2 ) if one code can be obtained from the other via the following two transformations: arbitrarily permute the components, and independently scale by a non-zero element any components.[src] Equivalent codes have the same minimum distance.[src] The generator matrices of equivalent codes can be obtained from one another via the following elementary operations: permute rows scale rows by a nonzero scalar add rows to other rows permute columns, and scale columns by a nonzero scalar.[src] Thus, we can perform Gaussian elimination on G.[src] Indeed, this allows us to assume that the generator matrix is in the standard form.[src] More precisely, for any matrix G we can find an invertible matrix U such that UG = \begin{bmatrix} I_k | P \end{bmatrix} , where G and \begin{bmatrix} I_k | P \end{bmatrix} generate equivalent codes.[src] ==See also== Hamming code (7,4) ==Notes== ==References== ==Further reading== ==External links== Generator Matrix at MathWorld[src]
21 sentences · 21 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Generator matrix." encyclopegia.org, 2026, https://encyclopegia.org/wiki/generator-matrix. Accessed 27 November 2026.
Chicago
"Generator matrix." encyclopegia.org. Accessed November 27, 2026. https://encyclopegia.org/wiki/generator-matrix.
APA
encyclopegia.org. (2026). Generator matrix. Retrieved November 27, 2026, from https://encyclopegia.org/wiki/generator-matrix
Accessed November 27, 2026 · CC BY-SA 4.0 · citation page · JSON