简体   繁体   English

给定码字时,如何找到生成器矩阵

[英]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.

相关问题 如何从给定矩阵的一组矩阵中找到最小汉明距离矩阵? - How do I find the least hamming distance matrix from a set of matrices for a given matrix? 给定非轴对齐的矩形,如何在2D矩阵中找到样本子集? - How do I find a subset of samples in a 2D matrix given a non-axis-aligned rectangle? 给定一个NxN矩阵,我怎样才能找到一个到位置的所有可能路径(i,i)? - Given a NxN matrix, how could I find all possible paths to a location (i,i)? 如何在 NxN 矩阵中找到最小成本和路径? - How do I find the minimum cost and the path in an NxN Matrix? 给定DCEL,我如何找到最接近的站点对? - Given a DCEL, how do I find the closest pair of sites? 查找给定矩阵的元素 - Find elements of given matrix 给定矩阵[i,j]中的位置,找到它所属的块 - Given a position in matrix [i, j], find the block it belongs to 如何找到矩阵中所有子平方的和? - How do I find the sum of all the subsquares in a matrix? 给定加权无向图,如何找到总权重接近给定值的路径? - Given a weighted undirected graph, how do I find a path which has the total weights close to a given value? 螺旋图案:如何找到给定坐标的数字? - Spiral Pattern: how do I find a number given coordinates?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM