MHB Weight and distance of a binary code

AI Thread Summary
The discussion centers on the relationship between the weight and distance of a binary code, specifically examining a set of eight codewords. Participants explore the challenge of calculating the minimum distance without manually checking all possible pairs, which can be cumbersome. One proposed method involves using the triangle inequality to estimate the distance based on the weights of the codewords. Clarification is sought regarding the notation used in the proposed formula, specifically the meaning of Ci and Cj, which refer to different codewords. The conversation highlights the complexity of efficiently determining distances in binary codes.
annie122
Messages
51
Reaction score
0
Is there a relationship between the distance and weight of a binary code?
I want to find the weight and distance of the code consisting of the codewords:

0000 0000
0010 1110
0101 1100
1011 1010
1110 0101
1100 1011
0111 0011
1001 0111

(spaces inserted for readability)

The weight can be checked easily by hand, but I don't want to check 21 distances.
Is there a quicker way?

One idea I had is d(C) \leq min(w(ci) + w(cj)), from the triangle inequality.
 
Mathematics news on Phys.org
Re: weight and distance of a binary code

Yuuki said:
Is there a relationship between the distance and weight of a binary code?
I want to find the weight and distance of the code consisting of the codewords:

0000 0000
0010 1110
0101 1100
1011 1010
1110 0101
1100 1011
0111 0011
1001 0111

(spaces inserted for readability)

The weight can be checked easily by hand, but I don't want to check 21 distances.
Is there a quicker way?

One idea I had is d(C) \leq min(w(ci) + w(cj)), from the triangle inequality.

The 'brute force procedure' for find the minimum distance in a code of size M=8 requires to check 7 + 6 + 5 + 4 + 3 + 2 + 1 = 28 distances... ... just a little question : in Your formula what are $C_{i}$ and $C_{j}$?... Kind regards $\chi$ $\sigma$
 
The 'brute force procedure' for find the minimum distance in a code of size M=8 requires to check 7 + 6 + 5 + 4 + 3 + 2 + 1 = 28 distances...
I said 21 because I already know the distance from the code 0000 0000 from the calculation of the weights.

... just a little question : in Your formula what are Ci and Cj?
They are two different codewords.
I should have written this there, sorry.
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Thread 'Imaginary Pythagorus'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...

Similar threads

Back
Top