Coding Theory, Finding Dual Code

Click For Summary
SUMMARY

The discussion focuses on finding a basis for the dual code C orthogonal from the set S = {0101, 1010, 1100}. Participants utilized Reduced Row Echelon Form (REF) to derive the generating matrix G, with one user achieving G = [1 0 0 1; 0 1 0 1; 0 0 1 1]. The orthogonal code C orthogonal was determined to be {0000, 1111} based on the linear independence of the original code elements. The challenge arose in obtaining the correct form for G and subsequently deriving the parity-check matrix H.

PREREQUISITES
  • Understanding of coding theory concepts, specifically dual codes.
  • Familiarity with matrix operations, particularly Reduced Row Echelon Form (REF).
  • Knowledge of generating matrices and parity-check matrices in linear codes.
  • Ability to perform linear algebra operations over binary fields.
NEXT STEPS
  • Study the derivation of dual codes in coding theory.
  • Learn about the properties and applications of generating matrices in linear codes.
  • Explore the process of obtaining parity-check matrices from generating matrices.
  • Review examples of linear independence in coding theory to reinforce understanding.
USEFUL FOR

Students and professionals in coding theory, particularly those working with linear codes, generating matrices, and dual codes. This discussion is beneficial for anyone seeking to deepen their understanding of orthogonal codes and their applications.

Chadlee88
Messages
40
Reaction score
0

Homework Statement



Let S = {0101, 1010, 1100}. From first principles, find a basis B for the dual code C orthogonal (couldn't find symbol)

Homework Equations



http://www.maths.uq.edu.au/courses/MATH3302/files/codingnotes.pdf

i'm using page 19,20 and 21

The Attempt at a Solution



so i did my matrix using the codes of S

1. 0101
A = 1010
1100


2. then i used REF on this getting

1100 1100
0110 => 0110 = G
0101 0011

So is this my generating matrix G? like shown on page 20
The problem is the example on page 20 is in Reduced Row Echelon Form and not
not just Row Echelon Form like above. So i don't get G = (I X) like the example.
This is where i get stuck because I'm not getting the same form for G and so i can't
get H which i need as the columns of H form a basis for C orthogonal.

The solution to this problem i have i don't get either but maybe it might help you,
It's a different approach to what I'm taking but i don't get it.

Could someone please tell me if i got the correct G and how to get H because
that's where I'm really stuck.



Notes solution:

4. Let x1x2x3x4 2 C?. Then by the defnition of C? we have
(x1x2x3x4) x (0101) = 0 so x2 + x4 = 0
(x1x2x3x4) x (1010) = 0 so x1 + x3 = 0
(x1x2x3x4) x (1100) = 0 so x1 + x2 = 0

Thus we have x1 = x2 = x3 = x4. Thus
C orthogonal = {0000, 1111}

Thanx for helping,

Cheerz
 
Last edited by a moderator:
Physics news on Phys.org
Chadlee88 said:

Homework Statement



Let S = {0101, 1010, 1100}. From first principles, find a basis B for the dual code C orthogonal (couldn't find symbol)

Homework Equations



http://www.maths.uq.edu.au/courses/MATH3302/files/codingnotes.pdf

i'm using page 19,20 and 21

The Attempt at a Solution



so i did my matrix using the codes of S

1. 0101
A = 1010
1100


2. then i used REF on this getting

1100 1100
0110 => 0110 = G
0101 0011
I followed Ex. 2.14 to do this work. I got a different matrix G, but then I reduced A to completely reduced row echelon form (using paper and pen, BTW).

My G looks like this:
Code:
[1 0 0 1]
[0 1 0 1]
[0 0 1 1]

From this I have [I3 X], where X is [1 1 1] (but as a column vector). From this I see that k = 3, and X is as above.

My matrix H' is
Code:
[1]
[1]
[1]
[1]
Note that the bottom entry is the 1 x 1 identity matrix. The columns in H' (all one of them) are the basis for Cperp.

This makes at least some sense because the original code had three elements that are linearly independent, and the dimension of the code space is 4. So the space for the dual code has to be of dimension 1.

The check on my work, which I didn't do, is to convince yourself that the original three codes plus the one I found are linearly independent.
Chadlee88 said:
So is this my generating matrix G? like shown on page 20
The problem is the example on page 20 is in Reduced Row Echelon Form and not
not just Row Echelon Form like above. So i don't get G = (I X) like the example.
This is where i get stuck because I'm not getting the same form for G and so i can't
get H which i need as the columns of H form a basis for C orthogonal.

The solution to this problem i have i don't get either but maybe it might help you,
It's a different approach to what I'm taking but i don't get it.

Could someone please tell me if i got the correct G and how to get H because
that's where I'm really stuck.



Notes solution:

4. Let x1x2x3x4 2 C?. Then by the defnition of C? we have
(x1x2x3x4) x (0101) = 0 so x2 + x4 = 0
(x1x2x3x4) x (1010) = 0 so x1 + x3 = 0
(x1x2x3x4) x (1100) = 0 so x1 + x2 = 0

Thus we have x1 = x2 = x3 = x4. Thus
C orthogonal = {0000, 1111}

Thanx for helping,

Cheerz
 
Last edited by a moderator:

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
Replies
1
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
7
Views
2K