- 2070 Asar (CS II) · 2 marks
Define Hamming weight and Hamming distance
Short answer
Hamming weight is the number of non-zero bits in a code vector. Hamming distance between two equal-length code vectors is the number of bit positions where they differ, equal to the weight of their bitwise XOR.
Define Hamming Weight and Hamming Distance.
- Hamming weight : the number of non-zero (1) bits in a code vector. Example: .
- Hamming distance : the number of bit positions in which two code vectors of the same length differ; . Example: , ; , so .
The smallest distance between any pair of codewords, , sets the error capability: a code detects errors and corrects errors.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Hamming weight and distance; (7,4) cyclic code for 1011 · Communication Systems, chapter 8 · asked 2×
- Hamming weight/distance; validate x = 0111000 with given H · Communication Systems, chapter 8 · asked 2×
- Hamming distance and weight; (6,3) code check for 100101 · Communication Systems, chapter 8
- Hamming distance and weight; rate 1/3 convolutional encoder · Communication Systems, chapter 8
- Hamming weight and distance; validate code 100011 · Communication Systems, chapter 8
- Hamming distance and weight importance; syndrome decoding · Communication Systems, chapter 8
- Hamming distance and minimum distance · Data Communication, chapter 8 · asked 2×
- Redundancy, Hamming distance, linear vs cyclic · Data Communication, chapter 8
- Minimum Hamming distance; find k and n · Data Communication, chapter 8