7.distance properties of lbc
DESCRIPTION
CodingTRANSCRIPT
![Page 1: 7.Distance Properties of LBC](https://reader033.vdocument.in/reader033/viewer/2022052122/55cf9964550346d0339d2391/html5/thumbnails/1.jpg)
Lecture-7
Distance properties of Block Codes (cond..)
Minimum Distance Decoding
Some bounds on the Code size
![Page 2: 7.Distance Properties of LBC](https://reader033.vdocument.in/reader033/viewer/2022052122/55cf9964550346d0339d2391/html5/thumbnails/2.jpg)
![Page 3: 7.Distance Properties of LBC](https://reader033.vdocument.in/reader033/viewer/2022052122/55cf9964550346d0339d2391/html5/thumbnails/3.jpg)
![Page 4: 7.Distance Properties of LBC](https://reader033.vdocument.in/reader033/viewer/2022052122/55cf9964550346d0339d2391/html5/thumbnails/4.jpg)
![Page 5: 7.Distance Properties of LBC](https://reader033.vdocument.in/reader033/viewer/2022052122/55cf9964550346d0339d2391/html5/thumbnails/5.jpg)
![Page 6: 7.Distance Properties of LBC](https://reader033.vdocument.in/reader033/viewer/2022052122/55cf9964550346d0339d2391/html5/thumbnails/6.jpg)
![Page 7: 7.Distance Properties of LBC](https://reader033.vdocument.in/reader033/viewer/2022052122/55cf9964550346d0339d2391/html5/thumbnails/7.jpg)
![Page 8: 7.Distance Properties of LBC](https://reader033.vdocument.in/reader033/viewer/2022052122/55cf9964550346d0339d2391/html5/thumbnails/8.jpg)
![Page 9: 7.Distance Properties of LBC](https://reader033.vdocument.in/reader033/viewer/2022052122/55cf9964550346d0339d2391/html5/thumbnails/9.jpg)
![Page 10: 7.Distance Properties of LBC](https://reader033.vdocument.in/reader033/viewer/2022052122/55cf9964550346d0339d2391/html5/thumbnails/10.jpg)
A block code can be specified by (n, k, dmin)
• Fact: The minimum distance of a code
determines its error-detecting ability and
error-correcting ability.
• d ↑ (Good Error correction capability)
but k / n ↓ (Low rate)
![Page 11: 7.Distance Properties of LBC](https://reader033.vdocument.in/reader033/viewer/2022052122/55cf9964550346d0339d2391/html5/thumbnails/11.jpg)
Error detection
• Let c be the transmitted codeword and let r bethe received n-tuple. We call the distance d(c; r)the weight of the error.
• let c1; c2 be two closest code words. If c1 istransmitted but c2 is received, then an error ofweight dmin has occurred that cannot bedetected.
• If the no. of errors < dmin , syndrome will havenon zero weight – error detection possible.
• (n, k, dmin) LBC can detect (dmin –1) number oferrors per code word.
![Page 12: 7.Distance Properties of LBC](https://reader033.vdocument.in/reader033/viewer/2022052122/55cf9964550346d0339d2391/html5/thumbnails/12.jpg)
Error correction
• A block code is a set of M vectors in an n-
dimensional space with geometry defined
by Hamming distance.
• The optimal decoding procedure is often
nearest-neighbour decoding: the received
vector r is decoded to the nearest
codeword.
![Page 13: 7.Distance Properties of LBC](https://reader033.vdocument.in/reader033/viewer/2022052122/55cf9964550346d0339d2391/html5/thumbnails/13.jpg)
Error correction-contd…
![Page 14: 7.Distance Properties of LBC](https://reader033.vdocument.in/reader033/viewer/2022052122/55cf9964550346d0339d2391/html5/thumbnails/14.jpg)
Contd….
![Page 15: 7.Distance Properties of LBC](https://reader033.vdocument.in/reader033/viewer/2022052122/55cf9964550346d0339d2391/html5/thumbnails/15.jpg)
Error correction-contd…
• Code words-center of a sphere of radius t`
• The “spheres" of radius t` surrounding the codewords do not overlap.
• When t` errors occur, the decoder can unambiguously decide which codeword was transmitted.
• Using nearest-neighbour decoding, errors of weight t` can be corrected if and only if
(2t` + 1) dmin –1) .
![Page 16: 7.Distance Properties of LBC](https://reader033.vdocument.in/reader033/viewer/2022052122/55cf9964550346d0339d2391/html5/thumbnails/16.jpg)
Error correction-contd…
• (n, k, dmin) LBC can detect (dmin –1) number
of errors and correct up to (dmin –1)/2 per
code word.
• In general ed + ec dmin –1.
![Page 17: 7.Distance Properties of LBC](https://reader033.vdocument.in/reader033/viewer/2022052122/55cf9964550346d0339d2391/html5/thumbnails/17.jpg)
![Page 18: 7.Distance Properties of LBC](https://reader033.vdocument.in/reader033/viewer/2022052122/55cf9964550346d0339d2391/html5/thumbnails/18.jpg)
Singleton bound
Another Proof:
Write G=[ Ik P]
Ik contributes 1 to wmin.
P contributes at most n - k to w min.
Hence the bound is satisfied
![Page 19: 7.Distance Properties of LBC](https://reader033.vdocument.in/reader033/viewer/2022052122/55cf9964550346d0339d2391/html5/thumbnails/19.jpg)
![Page 20: 7.Distance Properties of LBC](https://reader033.vdocument.in/reader033/viewer/2022052122/55cf9964550346d0339d2391/html5/thumbnails/20.jpg)
![Page 21: 7.Distance Properties of LBC](https://reader033.vdocument.in/reader033/viewer/2022052122/55cf9964550346d0339d2391/html5/thumbnails/21.jpg)
![Page 22: 7.Distance Properties of LBC](https://reader033.vdocument.in/reader033/viewer/2022052122/55cf9964550346d0339d2391/html5/thumbnails/22.jpg)
![Page 23: 7.Distance Properties of LBC](https://reader033.vdocument.in/reader033/viewer/2022052122/55cf9964550346d0339d2391/html5/thumbnails/23.jpg)
Hamming Codes
![Page 24: 7.Distance Properties of LBC](https://reader033.vdocument.in/reader033/viewer/2022052122/55cf9964550346d0339d2391/html5/thumbnails/24.jpg)
• Problem: Design a LBC with dmin 3 for
some block length n = 2m - 1.
• If dmin = 3, then every pair of columns of H
is independent.
• i.e., for binary code, this requires only that
• – no two columns are equal;
• – all columns are nonzero.
![Page 25: 7.Distance Properties of LBC](https://reader033.vdocument.in/reader033/viewer/2022052122/55cf9964550346d0339d2391/html5/thumbnails/25.jpg)
Hamming codes-contd…
• Let the H matrix has m rows. Each column
is an m-bit number.There are 2m -1
possible columns. This defines a (2m –1,
2m –1-m) code.
• The minimum weight is 3 and the code
can correct single error per code word.
![Page 26: 7.Distance Properties of LBC](https://reader033.vdocument.in/reader033/viewer/2022052122/55cf9964550346d0339d2391/html5/thumbnails/26.jpg)
New Codes from Existing Codes
![Page 27: 7.Distance Properties of LBC](https://reader033.vdocument.in/reader033/viewer/2022052122/55cf9964550346d0339d2391/html5/thumbnails/27.jpg)
New Codes from Existing Codes
How?
• Adding a check symbol expands a code.
• Adding an info symbol lengthens a code.
• Dropping a check symbol punctures a
code.
• Dropping an info symbol shortens a code.
![Page 28: 7.Distance Properties of LBC](https://reader033.vdocument.in/reader033/viewer/2022052122/55cf9964550346d0339d2391/html5/thumbnails/28.jpg)
Expansion
• Consider a binary (n; k) code with odd minimum distance dmin .
• Add one additional position which checks (even) parity on all n positions.
• The dimension k of the code is unchanged.
• – dmin increases by one.
• – The code length n increases by one.
• As an example of an expanded code, consider
• (2m, 2m –1- m) Hamming code with dmin = 4: