Lecture 15 The Minimum Distance of a Code (Section 4.4)

Slides:



Advertisements
Similar presentations
DCSP-8: Minimal length coding II, Hamming distance, Encryption Jianfeng Feng
Advertisements

Theory of Computing Lecture 23 MAS 714 Hartmut Klauck.
Error Control Code.
Locally Decodable Codes from Nice Subsets of Finite Fields and Prime Factors of Mersenne Numbers Kiran Kedlaya Sergey Yekhanin MIT Microsoft Research.
10.1 Chapter 10 Error Detection and Correction Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Error Correcting Codes Stanley Ziewacz 22M:151 Spring 2009.
Some Graph Problems. LINIAL’S CONJECTURE Backgound: In a partially ordered set we have Dilworth’s Theorem; The largest size of an independent set (completely.
Reduce Reduce: Replace each prime by a smaller cube contained in it. | F | = |F| after reduce Since some of cubes of F are not prime, Expand can be applied.
II. Linear Block Codes. © Tallal Elshabrawy 2 Last Lecture H Matrix and Calculation of d min Error Detection Capability Error Correction Capability Error.
Information Theory Introduction to Channel Coding Jalal Al Roumy.
NETWORKING CONCEPTS. ERROR DETECTION Error occures when a bit is altered between transmission& reception ie. Binary 1 is transmitted but received is binary.
EEE377 Lecture Notes1 EEE436 DIGITAL COMMUNICATION Coding En. Mohd Nazri Mahmud MPhil (Cambridge, UK) BEng (Essex, UK) Room 2.14.
EEE377 Lecture Notes1 EEE436 DIGITAL COMMUNICATION Coding En. Mohd Nazri Mahmud MPhil (Cambridge, UK) BEng (Essex, UK) Room 2.14.
Error Correcting Codes To detect and correct errors Adding redundancy to the original message Crucial when it’s impossible to resend the message (interplanetary.
Variable-Length Codes: Huffman Codes
Error Detection and Correction Rizwan Rehman Centre for Computer Studies Dibrugarh University.
Hamming Code Rachel Ah Chuen. Basic concepts Networks must be able to transfer data from one device to another with complete accuracy. Data can be corrupted.
exercise in the previous class (1)
Hamming Codes 11/17/04. History In the late 1940’s Richard Hamming recognized that the further evolution of computers required greater reliability, in.
MAT 1000 Mathematics in Today's World Winter 2015.
Linear codes 1 CHAPTER 2: Linear codes ABSTRACT Most of the important codes are special types of so-called linear codes. Linear codes are of importance.
Information and Coding Theory Linear Block Codes. Basic definitions and some examples. Juris Viksna, 2015.
Information Coding in noisy channel error protection:-- improve tolerance of errors error detection: --- indicate occurrence of errors. Source.
Error Control Code. Widely used in many areas, like communications, DVD, data storage… In communications, because of noise, you can never be sure that.
Codes Codes are used for the following purposes: - to detect errors - to correct errors after detection Error Control Coding © Erhan A. Ince Types: -Linear.
ERROR CONTROL CODING Basic concepts Classes of codes: Block Codes
MIMO continued and Error Correction Code. 2 by 2 MIMO Now consider we have two transmitting antennas and two receiving antennas. A simple scheme called.
ENEE244-02xx Digital Logic Design Lecture 3. Announcements Homework 1 due next class (Thursday, September 11) First recitation quiz will be next Monday,
Introduction to Coding Theory. p2. Outline [1] Introduction [2] Basic assumptions [3] Correcting and detecting error patterns [4] Information rate [5]
Communication System A communication system can be represented as in Figure. A message W, drawn from the index set {1, 2,..., M}, results in the signal.
§6 Linear Codes § 6.1 Classification of error control system § 6.2 Channel coding conception § 6.3 The generator and parity-check matrices § 6.5 Hamming.
DIGITAL COMMUNICATIONS Linear Block Codes
Linear codes of good error control performance Tsonka Baicheva Institute of Mathematics and Informatics Bulgarian Academy of Sciences Bulgaria.
Chapter 31 INTRODUCTION TO ALGEBRAIC CODING THEORY.
Information Theory Linear Block Codes Jalal Al Roumy.
1 Coded modulation So far: Binary coding Binary modulation Will send R bits/symbol (spectral efficiency = R) Constant transmission rate: Requires bandwidth.
Last time, we talked about:
10.1 Chapter 10 Error Detection and Correction Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Error Detection. Data can be corrupted during transmission. Some applications require that errors be detected and corrected. An error-detecting code can.
An Algorithm for Construction of Error-Correcting Symmetrical Reversible Variable Length Codes Chia-Wei Lin, Ja-Ling Wu, Jun-Cheng Chen Presented by Jun-Cheng.
Some Computation Problems in Coding Theory
Channel Coding Theorem (The most famous in IT) Channel Capacity; Problem: finding the maximum number of distinguishable signals for n uses of a communication.
10.1 Chapter 10 Error Detection and Correction Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1 Reliability-Based SD Decoding Not applicable to only graph-based codes May even help with some algebraic structure SD alternative to trellis decoding.
10.1 Chapter 10 Error Detection and Correction Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1 Product Codes An extension of the concept of parity to a large number of words of data 0110… … … … … … …101.
Block Coded Modulation Tareq Elhabbash, Yousef Yazji, Mahmoud Amassi.
ECE 442 COMMUNICATION SYSTEM DESIGN LECTURE 10. LINEAR BLOCK CODES Husheng Li Dept. of EECS The University of Tennessee.
Part 2 Linear block codes
Error Detection and Correction
Subject Name: COMPUTER NETWORKS-1
Chapter 10 Error Detection And Correction
Computational Molecular Biology
Welcome to the presentation. Linear Block Codes Almost all block codes used today belong to a subset called linear block codes. The exclusive OR of two.
II. Linear Block Codes.
Lecture 6 Instantaneous Codes and Kraft’s Theorem (Section 1.4)
Block codes. encodes each message individually into a codeword n is fixed, Input/out belong to alphabet Q of cardinality q. The set of Q-ary n-tuples.
Triangle Inequalities
II. Linear Block Codes.
Communicating Efficiently
Error Detection and Correction
Types of Errors Data transmission suffers unpredictable changes because of interference The interference can change the shape of the signal Single-bit.
Lecture 11 The Noiseless Coding Theorem (Section 3.4)
Lecture 17 Making New Codes from Old Codes (Section 4.6)
Lecture 19 The Vector Space Znp (Section 5.1)
Lecture 4 What are Codes? (Section 1.2)
Theory of Information Lecture 13
Kenji Yasunaga Toru Fujiwara Osaka University
Chapter 10 Error Detection and Correction
Lecture 18 The Main Coding Theory Problem (Section 4.7)
Presentation transcript:

Lecture 15 The Minimum Distance of a Code (Section 4.4) Theory of Information Lecture 13 Theory of Information Lecture 15 The Minimum Distance of a Code (Section 4.4)

u-Error-Detecting Codes Definition A code C is called u-error-detecting if changing u symbols in any of its codewords does not yield another codeword in C. A code C is called exactly u-error-detecting if u is the largest such number, i.e., if the code is u-error detecting but not (u+1)-error-detecting. Examples: C = {000, 111} is exactly -error-detecting C = {000000, 111000, 111111} is exactly -error-detecting C = {1000, 0001} is exactly -error-detecting Give examples of exactly single-error-detecting codes.

v-Error-Correcting Codes Definition A code C is called v-error-correcting if nearest neighbor decoding can correct any v or fewer errors, without encountering a tie. A code C is called exactly v-error-correcting if v is the largest such number, i.e., if the code is v-error correcting but not (v+1)-error-correcting. Examples: C = {000, 111} is exactly -error-correcting C = {000000, 111000, 111111} is exactly -error-correcting C = {1000, 0001} is exactly -error-correcting Give an example of an exactly 2-error-detecting code. Binary repetition code of length n, denoted Rep2(n), contains just two codewords: n 0’s and n 1’s. It is exactly -error-detecting and exactly -error-correcting.

Telephone Numbers The set of all active US telephone numbers is a decimal (10-ary) block code of length 10. Its current size is about 115 million. Could it be made (at least) 1-error-correcting? I.e. is there a single-error-correcting decimal code of size 115,000,000? At this time, the maximum size n of a decimal single-error correcting code is not known. What is, however, known is that 82,644,620  n  100,000,000. Conclusion: the goal cannot be achieved for US, but can be achieved for a somewhat smaller country.

The Minimum Distance of a Code Definition Let C be a code with at least two codewords. The minimum distance d(C) of C is the smallest Hamming distance between distinct codewords of C. Definition An (n,M,d)-code is a code of length n (#symbols in each codeword), size M (# codewords), and minimum distance d (smallest distance between codewords) Examples: C = {000, 010, 011} d(C) = C is a -code C is exactly -error-detecting and exactly -error-correcting C = {00011, 00101, 11101, 11000} d(C) = C is a -code C={000000, 000111, 111000, 111111} d(C)= C is a -code Parameters

Three Theorems Theorem A code C is u-error-detecting if and only if d(C) ≥ u + 1 Theorem A code C is v-error-correcting if and only if d(C) ≥ 2v + 1 Theorem A code C is exactly-v-error-correcting iff d(C) = 2v + 1 or d(C) =2v +2, i.e., v = (d(C) -1)/2.

Mixed Error Detection and Error Correction Strategy (for v0): If a word x is received and the closest codeword c is at a distance v, and there is only one such codeword, then decode x as c. Otherwise declare an error. Definition A code C is simultaneously v-error-correcting and u-error-detecting if, whenever v errors are made, the above strategy will correct them and if, whenever at least v+1 but at most v+u errors are made, the above strategy simply reports an error. Theorem 4.4.4 A code C is simultaneously v-error-correcting and u-error-detecting if and only if d(C)  2v+u+1.

Maximal Codes Definition An (n,M,d)-code is said to be maximal if it is not contained in any larger code with the same length and minimum distance, i.e. it is not a subset of any (n,M+1,d)-code. Are the following codes maximal? {0,1} {00,11} {001,111} {0000, 0011, 1111} {0000,0011,1100,1111} Theorem 4.4.5 An (n,M,d)-code C is maximal iff, for all words x, there is a codeword cC such that d(x,c) < d. Is {001,111,100,010} maximal?

Pros and Cons for Maximizing Codes Advantage: The code, after enlarging to a maximal one, will still remain (d-1)/2- error-correcting. Disadvantage: While the old code may be able to correct more than (d-1)/2 errors 0ccasionally, the new code will not be able to do so. Is C={00000,11100} maximal? Let C’ be any maximal code containing C If 00000 is sent but 00111 is received, can C correct it? can C’ correct it? why?

Theory of Information Lecture 13 Exercise 1 Consider the binary code C={11100,01001,10010,00111} Compute the minimum distance of C Using minimum distance decoding, decode the words 10000 01100 00100

Theory of Information Lecture 13 Exercise 3 Consider the code C consisting of all words in Z2n that have an even number of 1s. What is its length? size? minimum distance?

Theory of Information Lecture 13 Exercise 9 Does a binary (7,3,5)-code exist?

Theory of Information Lecture 13 Homework Exercises 2 and 8 of Section 4.4.