Purchase Solution

Weights of Codewords of a Binary Linear Code

Not what you're looking for?

Ask Custom Question

The weight of w(x) of a vector x in (F_q )^n is defined to be the number of nonzero entries of x.

Prove that, in a binary linear code, either all the codewords have even weight or exactly half even weight and half odd weight.

Purchase this Solution

Solution Summary

We prove that either all codewords of a binary linear code have even weight or that half have even weight and the other half have odd weight.

Solution Preview

We wish to prove that in a binary linear code, either all codewords have even weight or half have even weight and half have odd weight.
Let C be a binary linear code. Consider the function defined by

Note that ...

Purchase this Solution


Free BrainMass Quizzes
Know Your Linear Equations

Each question is a choice-summary multiple choice question that will present you with a linear equation and then make 4 statements about that equation. You must determine which of the 4 statements are true (if any) in regards to the equation.

Geometry - Real Life Application Problems

Understanding of how geometry applies to in real-world contexts

Graphs and Functions

This quiz helps you easily identify a function and test your understanding of ranges, domains , function inverses and transformations.

Probability Quiz

Some questions on probability

Solving quadratic inequalities

This quiz test you on how well you are familiar with solving quadratic inequalities.