Linar Codes and cacluating the cosets

  • Context: Graduate 
  • Thread starter Thread starter Rubik
  • Start date Start date
  • Tags Tags
    Cosets
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 2K views
Rubik
Messages
95
Reaction score
0
Given a liear code generated by 01111, 11010 and 10100 how do you calculate the cosets of C? Does this mean because it is generated by that matrix that it is not my acutal code C so am I suppose to find C then find my cosets or do I straight up use the generated matrix as it is equivalent to C?
 
Physics news on Phys.org
Let's make some assumptions here: you're working in the field [tex]\mathbb{F}_2[/tex], and thus your codes are in [tex]\mathbb{F}_2^5[/tex].

So, C is just a subspace of [tex]\mathbb{F}_2^5[/tex], and you need to find all x+C, for [tex]x\in \mathbb{F}_2^5[/tex].

The way I would do this is to complete the basis of C to a basis of [tex]\mathbb{F}_2^5[/tex]. Thus 01111, 11010 and 10100 are already 3 linear independent vectors. You'll need to find 2 other vectors x and y such that [tex]\{01111,11010,10100,x,y\}[/tex] form a basis for [tex]\mathbb{F}_2^5[/tex].

It can then easily be shown that

[tex]\{(\alpha x+\beta y)+C~\vert~\alpha,\beta\in \mathbb{F}^2\}[/tex]

are the cosets of C. Thus there are 4 cosets!
 
Sorry yes those assumptions are correct but also I made a slight mistake in my third term my code C = {01111, 11010, 10101} does this now mean my vectors are no longer lineraly independent?
 
Okay thanks I will give it a go.. I am even more appreciative of this advice seeing as it is coming from a Pink Floyd fan! :D