MHB Weight and distance of a binary code

Click For 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.
 
Here is a little puzzle from the book 100 Geometric Games by Pierre Berloquin. The side of a small square is one meter long and the side of a larger square one and a half meters long. One vertex of the large square is at the center of the small square. The side of the large square cuts two sides of the small square into one- third parts and two-thirds parts. What is the area where the squares overlap?

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
3
Views
4K
  • · Replies 17 ·
Replies
17
Views
296K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K