[英]how do I find the generator matrix when codewords are given
Code = { 000, 011 , 101, 110 }
generator matrix = {011, 101}
Here the code matrix is given, and I am supposed to find the generator matrix. 这里给出了代码矩阵,我应该找到生成器矩阵。 But I am clueless in determining the generator matrix.
但是我对确定发生器矩阵一无所知。 Could someone please shed some light on this?
有人可以说明一下吗?
I am not entirely sure what you mean by "generator matrix" in this specific case, but it seems you are looking for a (minimum?) subset B of the code vectors such that each codeword can be represented as a linear combination of the vectors in B. 我不确定在这种特定情况下“生成矩阵”是什么意思,但似乎您正在寻找代码向量的(最小?)子集B,以便每个代码字都可以表示为向量的线性组合在B中。
I suggest you do the following: put your code vectors into a matrix A such that each code vector is a column of A. Then use Gaussian elimination to put A in upper triangular form. 我建议您执行以下操作:将代码向量放入矩阵A中,使每个代码向量都是A的列。然后使用高斯消除将A置于上三角形式。 The first couple of vectors (the first rank(A) columns to be precise) constitute what I believe you call a generator.
前两个向量(准确地说是第一个rank(A)列)构成了我所说的生成器。
Edit: Let me clarify. 编辑:让我澄清一下。 If your code lives in GF(2), you must perform Gauss elimination over GF(2) of course.
如果您的代码位于GF(2)中,那么您当然必须对GF(2)执行高斯消除。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.