Linear Codes - How to establish Generator Matrix if only given k and n?

59 Views Asked by At

I've gone to Wikipedia and watched a few videos regarding Linear Codes, and from what I see, the Parity Check Matrix is always given, and because of that the Generator Matrix (consisting of Identity Matrix, Parity Matrix) can be made. But what if the Parity Matrix isn't given, and instead, only k and n? I understand the general layout, but I do not see how to figure out the actual contents (or identity, I believe its called) of the Parity Matrix.

  • I should add that the specific scenario I am asking about is in binary, so maybe its only doable there?
1

There are 1 best solutions below

0
On

There is no way to uniquely determine a linear code in general given only $n,k$. This is still true even if it is binary.

Any $k-$ dimensional subspace of the $n$ dimensional vector space $\mathbb{F}_2^n$ forms a code and any basis for that can be taken to be the generator matrix.

The number of $k-$dimensional subspaces of the $n-$dimensional space is known and is given here. If the field is nonprime, with fieldsize $q=p^n$ just replace $p$ with $q.$

Also among the codes with dimension $k,$ there are in general very good ones [high minimum distance] and terrible ones with low minimum distance.