Cyclic Linear Codes. p2. OUTLINE  [1] Polynomials and words  [2] Introduction to cyclic codes  [3] Generating and parity check matrices for cyclic.

Slides:



Advertisements
Similar presentations
Error Control Code.
Advertisements

296.3Page :Algorithms in the Real World Error Correcting Codes II – Cyclic Codes – Reed-Solomon Codes.
L. J. Wang 1 Introduction to Reed-Solomon Coding ( Part I )
15-853:Algorithms in the Real World
Information and Coding Theory
Remainder and Factor Theorem Polynomials Polynomials Polynomials Combining polynomials Combining polynomials Combining polynomials Combining polynomials.
Information and Coding Theory Finite fields. Juris Viksna, 2015.
Wireless Mobile Communication and Transmission Lab. Chapter 2 Block code ----BCH The Theory and Technology of Error Control Coding.
Error Detection and Correction
Transmission Errors Error Detection and Correction
Error Detection and Correction
Error Detection and Correction
Transmission Errors1 Error Detection and Correction.
Chapter 11 Algebraic Coding Theory. Single Error Detection M = (1, 1, …, 1) is the m  1 parity check matrix for single error detection. If c = (0, 1,
Finite fields.
Using secret sharing for searching in encrypted data.
2.4 – Zeros of Polynomial Functions
Transmission Errors Error Detection and Correction
Linear Codes.
DIGITAL COMMUNICATION Error - Correction A.J. Han Vinck.
Cyclic codes 1 CHAPTER 3: Cyclic and convolution codes Cyclic codes are of interest and importance because They posses rich algebraic structure that can.
CPSC 3730 Cryptography and Network Security
Channel Coding and Error Control
By: Hector L Contreras SSGT / USMC
Cyclic_Code2004/3/17Yuh-Ming Huang, CSIE NCNU1 v = (v 0, v 1,..., v n-1 ) : code vector v (1) = (v n-1, v 0, v 1, …, v n-2 ) v (i) = (v n-i, v n-i+1, …,
Polynomial Factoring Ramesh Hariharan. The Problem Factoring Polynomials overs Integers Factorization is unique (why?) (x^2 + 5x +6)  (x+2)(x+3) Time:
Convolutional Codes. p2. OUTLINE  [1] Shift registers and polynomials  [2] Encoding convolutional codes  [3] Decoding convolutional codes  [4] Truncated.
Cyclic Codes for Error Detection W. W. Peterson and D. T. Brown by Maheshwar R Geereddy.
Key Concept 1. Example 1 Leading Coefficient Equal to 1 A. List all possible rational zeros of f (x) = x 3 – 3x 2 – 2x + 4. Then determine which, if any,
15-853Page :Algorithms in the Real World Error Correcting Codes II – Cyclic Codes – Reed-Solomon Codes.
Chapter 3 Digital Transmission Fundamentals Line Coding Error Detection and Correction.
Today in Pre-Calculus Go over homework Notes: Remainder and Factor Theorems Homework.
DIGITAL COMMUNICATIONS Linear Block Codes
EE 430 \ Dr. Muqaibel Cyclic Codes1 CYCLIC CODES.
Information and Coding Theory Cyclic codes Juris Viksna, 2015.
Information Theory Linear Block Codes Jalal Al Roumy.
Review.
Perfect and Related Codes
Some Computation Problems in Coding Theory
Error Detection and Correction
Computer Construction of Quasi-Twisted Two-Weight Codes Eric Chen Dept. of Comp.Science Kristianstad University Kristianstad Sweden.
INFORMATION THEORY Pui-chor Wong.
Applied Symbolic Computation1 Applied Symbolic Computation (CS 567) The Fast Fourier Transform (FFT) and Convolution Jeremy R. Johnson TexPoint fonts used.
Reed-Solomon Codes Rong-Jaye Chen.
May 9, 2001Applied Symbolic Computation1 Applied Symbolic Computation (CS 680/480) Lecture 6: Multiplication, Interpolation, and the Chinese Remainder.
Multiplicative Group The multiplicative group of Z n includes every a, 0
Exercise in the previous class (1) Define (one of) (15, 11) Hamming code: construct a parity check matrix, and determine the corresponding generator matrix.
Last Answer LETTER I h(x) = 3x 4 – 8x Last Answer LETTER R Without graphing, solve this polynomial: y = x 3 – 12x x.
RS – Reed Solomon Error correcting code. Error-correcting codes are clever ways of representing data so that one can recover the original information.
V. Non-Binary Codes: Introduction to Reed Solomon Codes
Page : 1 bfolieq.drw Technical University of Braunschweig IDA: Institute of Computer and Network Engineering  W. Adi 2011 Lecture-5 Mathematical Background:
Modulo-2 Digital coding uses modulo-2 arithmetic where addition becomes the following operations: 0+0= =0 0+1= =1 It performs the.
Information and Coding Theory
Mathematical Background: Extension Fields
Sec. 4-3: Matrix Multiplication 8/24/17
Cyclic Codes 1. Definition Linear:
3.3 Quadratic Functions Quadratic Function: 2nd degree polynomial
4.1 Notes day 2 Remainder Theorem: If a polynomial f(x) is divided by x – c, then the remainder is f(c). Ex. f(x) = x3 + 3 divided by g(x)= x -1.
CHAPTER 3: Cyclic and convolution codes
Chapter 3 Digital Transmission Fundamentals
Lecture 3 Digital Transmission Fundamentals
Cyclic Code.
Applied Symbolic Computation
Finite Fields Rong-Jaye Chen.
5.5 – Completing the Square
Cryptology Design Fundamentals
CHAPTER 3: Cyclic and convolution codes
III. Cyclic Codes.
Chapter 10 Error Detection and Correction
Mathematical Background: Extension Finite Fields
Presentation transcript:

Cyclic Linear Codes

p2. OUTLINE  [1] Polynomials and words  [2] Introduction to cyclic codes  [3] Generating and parity check matrices for cyclic codes  [4] Finding cyclic codes  [5] Dual cyclic codes

p3. Cyclic Linear Codes [1] Polynomials and words 1. Polynomial of degree n over K 2. Eg 4.1.1

p4. Cyclic Linear Codes 3. [Algorithm 4.1.8]Division algorithm 4. Eg

p5. 5. Code represented by a set of polynomials A code C of length n can be represented as a set of polynomials over K of degree at most n-1 6. E.g Cyclic Linear Codes Codeword c Polynomial c(x) x 2 x+x 3 1+x+x 2 +x 3

p6. Cyclic Linear Codes 7. f(x) and p(x) are equivalent modulo h(x) 8.Eg Eg

p7. Cyclic Linear Codes 10. Lemma Eg

p8. [2]Introduction to cyclic codes 1. cyclic shift π(v) V: , : cyclic code A code C is cyclic code(or linear cyclic code) if (1)the cyclic shift of each codeword is also a codeword and (2) C is a linear code C1=(000, 110, 101, 011} is a cyclic code C2={000, 100, 011, 111} is NOT a cyclic code V=100, =010 is not in C2 Cyclic Linear Codes v

p9. Cyclic Linear Codes 3. Cyclic shiftπis a linear transformation S={v, π(v), π 2 (v), …, π n-1 (v)}, and C=, then v is a generator of the linear cyclic code C

p10. Cyclic Linear Codes 4. Cyclic Code in terms of polynomial

p11. Cyclic Linear Codes 5. Lemma Let C be a cyclic code let v in C. Then for any polynomial a(x), c(x)=a(x)v(x)mod(1+x n ) is a codeword in C 6. Theorem C: a cyclic code of length n, g(x): the generator polynomial, which is the unique nonzero polynomial of minimum degree in C. degree(g(x)) : n-k, 1. C has dimension k 2. g(x), xg(x), x 2 g(x), …., x k-1 g(x) are a basis for C 3. If c(x) in C, c(x)=a(x)g(x) for some polynomial a(x) with degree(a(x))<k

p12. Cyclic Linear Codes 7. Eg the smallest linear cyclic code C of length 6 containing g(x)=1+x is {000000, , , , , , , } 8. Theorem g(x) is the generator polynomial for a linear cyclic code of length n if only if g(x) divides 1+x n (so 1+x n =g(x)h(x)).

p13. Cyclic Linear Codes 9. Corollary The generator polynomial g(x) for the smallest cyclic code of length n containing the word v(polynomial v(x)) is g(x)=gcd(v(x), 1+x n ) 10. Eg n=8, v= so v(x)=1+x+x 3 +x 4 g(x)=gcd(1+x+x 3 +x 4, 1+x 8 )=1+x 2 Thus g(x)=1+x 2 is the smallest cyclic linear code containing v(x), which has dimension of 6.

p14. Cyclic Linear Codes [3]. Generating and parity check matrices for cyclic code 1. Effective to find a generating matrix The simplest generator matrices (Theorem )

p15. Cyclic Linear Codes 2. Eg C: the linear cyclic codes of length n=7 with generator polynomial g(x)=1+x+x 3, and deg(g(x))=3, => k = 4

p16. Cyclic Linear Codes 3. Efficient encoding for cyclic codes

p17. Cyclic Linear Codes 4. Parity check matrix H : wH=0 if only if w is a codeword Symdrome polynomial s(x) c(x): a codeword, e(x):error polynomial, and w(x)=c(x)+e(x) s(x) = w(x) mod g(x) = e(x) mod g(x), because c(x)=a(x)g(x) H: i-th row r i is the word of length n-k => r i (x)=x i mod g(x) wH = (c+e)H => c(x) mod g(x) + e(x) mod g(x) = s(x)

p18. Cyclic Linear Codes 5. Eg n=7, g(x)=1+x+x 3, n-k = 3

p19. Cyclic Linear Codes [4]. Finding cyclic codes 1. To construct a linear cyclic code of length n Find a factor g(x) of 1+x n, deg(g(x)) = n-k Irreducible polynomials f(x) in K[x], deg(f(x)) >= 1 There are no a(x), b(x) such that f(x)=a(x)b(x), deg(a(x))>=1, deg(b(x))>=1 For n <= 31, the factorization of 1+x n (see Appendix B) Improper cyclic codes: K n and {0}

p20. Cyclic Linear Codes 2. Theorem Coro 4.4.4

p21. Cyclic Linear Codes 4. Idempotent polynomials I(x) I(x) = I(x) 2 mod (1+x n ) for odd n Find a “basic” set of I(x) C i = { s=2 j i (mod n) | j=0, 1, …, r} where 1 = 2 r mod n

p22. Cyclic Linear Codes 5. Eg Theorem Every cyclic code contains a unique idempotent polynomial which generates the code.(?)

p23. Cyclic Linear Codes 7. Eg find all cyclic codes of length 9 The generator polynomial g(x)=gcd(I(x), 1+x 9 ) Idempotent polynomial I(x) 1 1+x+x 3 +x 4 +x 6 +x 7 1+x 3 1+x+x 2 : 1 x+x 2 +x 4 +x 5 +x 7 +x 8 x 3 +x 6 1+x+x 2 +x 4 +x 5 +x 7 +x 8 :

p24. Cyclic Linear Codes [5].Dual cyclic codes 1. The dual code of a cyclic code is also cyclic 2. Lemma a  > a(x), b  > b(x) and b’  > b’(x)=x n b(x -1 ) mod 1+x n then a(x)b(x) mod 1+x n = 0 iff π k (a) . b’=0 for k=0,1,…n-1 3. Theorem C: a linear code, length n, dimension k with generator g(x) If 1+x n = g(x)h(x) then C ⊥ : a linear code, dimension n-k with generator x k h(x -1 )

p25. Cyclic Linear Codes 4. Eg g(x)=1+x+x 3, n=7, k=7-3=4 h(x)=1+x+x 2 +x 4 h(x)generator for C ⊥ is g ⊥ (x)=x 4 h(x -1 )=x 4 (1+x -1 +x -2 +x -4 )=1+x 2 +x 3 +x 4 5. Eg g(x)=1+x+x 2, n=6, k=6-2=4 h(x)=1+x+x 3 +x 4 h(x)generator for C ⊥ is g ⊥ (x)=x 4 h(x -1 )=1+x+x 3 +x 4