Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Minimum Distance, Weight, and Error Correction in Linear Binary Codes - Prof. Julie M. Cla, Assignments of Mathematics

The concepts of minimum distance, weight, and error correction in linear binary codes, including hamming codes and repetition codes. It includes examples and homework problems related to these concepts.

Typology: Assignments

Pre 2010

Uploaded on 08/18/2009

koofers-user-3sn-1
koofers-user-3sn-1 🇺🇸

10 documents

1 / 4

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Math 350: Applied Algebra: Codes and Ciphers Spring 2009
Linear Binary Codes and the Hamming Codes
Assumptions for all codes in today’s work:
Our codes will be binary codes.
Our codes will be BLOCK codes – which means that all the
codewords in a particular code have the same length (number of
digits).
Noise or interference may change any digit from a 0 to a 1 or vice
verse – but noise will not cause a codeword to drop or add digits.
Our codes will be LINEAR.
C1 = {00, 01, 10, 11} C2 = {0000, 0101, 1010, 1111}
C3 = { 00000, 11111} C4 = {000, 101, 011, }
Let n represent the length of our block codes
k = the number of those digits that are information digits
Define the INFORMATION RATE of a code:
R= k/n = the proportion of digits that are information
digits.
Maximum Likelihood decoding
The Hamming distance between (c1, c2) =d(c1,c2) =number of
positions in which their digits differ.
The MINIMUM DISTANCE of a code is the smallest distance
between any two distinct codewords of the code.
What are the minimum distances of codes C1, C2, C3, C4?
pf3
pf4

Partial preview of the text

Download Minimum Distance, Weight, and Error Correction in Linear Binary Codes - Prof. Julie M. Cla and more Assignments Mathematics in PDF only on Docsity!

Linear Binary Codes and the Hamming Codes

Assumptions for all codes in today’s work:  Our codes will be binary codes.  Our codes will be BLOCK codes – which means that all the codewords in a particular code have the same length (number of digits).  Noise or interference may change any digit from a 0 to a 1 or vice verse – but noise will not cause a codeword to drop or add digits.  Our codes will be LINEAR. C1 = {00, 01, 10, 11} C2 = {0000, 0101, 1010, 1111} C3 = { 00000, 11111} C4 = {000, 101, 011, } Let n represent the length of our block codes k = the number of those digits that are information digits Define the INFORMATION RATE of a code: R= k/n = the proportion of digits that are information digits. Maximum Likelihood decoding The Hamming distance between (c1, c2) =d(c1,c2) =number of positions in which their digits differ. The MINIMUM DISTANCE of a code is the smallest distance between any two distinct codewords of the code. What are the minimum distances of codes C1, C2, C3, C4?

The WEIGHT of a nonzero codeword c is defined to be the number of non-zero digits in c. What are the minimum weights of codes C1, C2, C3, C4? Theorem 1: In a linear block code, the minimum weight = minimum distance. Theorem 2: A linear code with minimum distance d will be able to detect up to ^ d / 2 errors, and SIMULTAEOUSLY correct up to ( 1) 2 ^ d^     errors.

c) Find the probability of an error p (E) using the BSC model.

  1. Consider the Hamming-(15,11) code -- which is a Hamming code of block length 15 with 11 information digits. a) What are the 4 parity checks for this code? b) In what positions are the 4 parity checks in a codeword? c) How many distinct codewords will this code contain? ( Hint: when we had 4 information digits in the Hamming –(7,4) code– how many codewords did we have?) d) Correct the following transmitted word from this code: 1 0 1 1 1 0 0 0 1 1 0 0 1 0 1