Error Codes Correcting Gary Lecture 11 toolkit CMU - - PDF document

error
SMART_READER_LITE
LIVE PREVIEW

Error Codes Correcting Gary Lecture 11 toolkit CMU - - PDF document

Rohan Error Codes Correcting Gary Lecture 11 toolkit CMU Preliminaries Setting Error of Correcting Codes Linear Error Correcting codes and Hadamard Codes Hamming Reed Solomon Code Definitions Basic Def An Error code is


slide-1
SLIDE 1

Rohan

Error

Correcting

Codes Gary

Lecture 11

CMU

toolkit

Setting

Preliminaries

  • f

Error

Correcting

Codes

Linear

Error Correcting codes

Hamming

and

Hadamard Codes

Reed

Solomon

Code

slide-2
SLIDE 2

Basic

Definitions

Def An Error

Correcting

code is

an

injective map

from

K length strings

to n length strings

Eric

In

where

is the alphabet

We will generally

take

0,1

g

l

8

2

binary

Message

K is

message

dimension

elements in

are messages

Blocklength

Msg

n

bit string

Code

Codes

gk

Imsgl

Ideally

this should

Rate

E

h

Iblockl

be close to 1

slide-3
SLIDE 3

Et

errors

If I

recover

MSG

Enc msg

running

2

Msg

Ei

Cei

Eis

HammingDistanceimm

Deff Hamming Dist

number

  • f positions at which

the strings differ

DCx.ie

Ei

xi IYi31

I

I

ED

slide-4
SLIDE 4

d

the minimum

distance between any 2 vertices

d Tiffany

slide-5
SLIDE 5

Fact

Unique decoding

for each E

the

receiver

gets

there is

a unique

n

she

can recover

is possible

iff

t E

I

slide-6
SLIDE 6

LINEAR

CODE

A

linear

code

  • f length

n

and rank

K

is

a

linear

subspace

C

with dimension K

  • f

the

vector

space

Fgn

where

Fg

is

the finite field of q elements

Deff

linear

code

Ene Fgk

IF

x

Gx

where is

a

vector

and

G is

a matrix

G

is called

the

Generator matrix

full

rank

axle matrix

lm

G

image of G

which spans

all

linear

combinations

  • f rows
slide-7
SLIDE 7

Notation

n

k

d

q

linear code

h

length of

codeword

9 b c

not necessarily

K

length

  • f

message

line

D

min

distance

  • f

III

2

Gx

et

Ct

WE Fg

wtz

  • .V

z E.co

every

vector in

Ct

is orthogonal to every

codeword vector

in C

slide-8
SLIDE 8

Ct

n

n KII

code

Enct

Ff

k

Hgh maps

w to Htw

H

is

a

Cn Kl xn

matrix

Parity check matrix

c

Ct

is rowspan

  • f

H

2 C C

Hz

a

Defi Hamming weight

wutCw

D

W

Facts

d

c

is the least

Hamming wt

  • f a

non Zero

codeword

slide-9
SLIDE 9

B

y y

wth

y

a

dlc

min

number

  • f

columns in

H

which

are linearly dependent

7roof

d

c

min wt

z

ZEC

2

to min wtCZ

Hz

O 2

to

slide-10
SLIDE 10

Hamming

code

q

2

binary

set up

I

i

s

I

I

ly is

r

I

1

matrix

and

the

columns span all possible binary strings

  • f length

r

Pot

µ is

full

rank

because it has

the identity matrix

distance for

H

3

slide-11
SLIDE 11

Ham

EE I

I

I

r

3

z

let

n

2

n n log

ntl

3 A

9

block

Rate

I

msg

distance d

3

errors

handle

1

error

Z

n length

string HZ

O

Msg

was

not

modified

else

ei g

i

coordinate

for some

i 2

Msg

t

e

slide-12
SLIDE 12

Hz

H msg

He He

Il

O

n

Perfect

Code

A perfect

code

may

be

mmmm

interpreted

as

  • ne

in which the

balls

  • f

radius t

exactly

fill

  • ut

the space

Good

rate

Bad distance

A errors tolerated

slide-13
SLIDE 13

Hadamard

Code

try

I l l

l l l l l l l

Add in

zero's

row

if

  • f

a

Generator

matrix

for Hadamard Code

slide-14
SLIDE 14

DEI Hadamard code

Hadamard

encoding of

X

is defined

as

the

sequence

  • f

all

inner

products

with

x

a

x

at

I

Given

ne IFT

define

r

variate

linear

polynomial

IFI

Az

r

q

xTa

ni

ai

L

Mi's

co efferienty

ai's

variables Like

i mapping n to the

truth table

  • f
slide-15
SLIDE 15

Ca.hu

r

l4daDae i

Facts Hadamard

code

is

a

I

r

I

code

T

r

t

block

Msg

distance

let

n

2

n

login In

code

It

errors

distance rate

M's log

n

block

h

slide-16
SLIDE 16

Reed

Solomon

codes

Rs

Super useful

Def

CRS code

For

1 E

ke

n

G

h

Select

a

subset

  • f symbols
  • f

cardinality n

SE

Ag

Ist

n

Eric

Fook

Agh

message

M

Mom

Ma I m

Pmk

ats

Pm

a

CEGG

mo

mint

tmk

x

Facts

mum

Linear Code

slide-17
SLIDE 17

Eno

mtm

Ene

m EncCm

adding

coefficients

  • f polynomial

Generator matrix

each vow

is I

a

a

a

k t

for some

AES Vandermonde matrix

min dist Z n

K l h

KH

Bad property

8

In

n

k

n

KH q

  • ptimal

for

these parameter

I

slide-18
SLIDE 18

Theorem Singleton Bond

For

a

n

k d

q

code

K E

h

dtl

1964

mmmm

thanks

I