2 Error detection correction Flashcards

1
Q

𝜏- Error detecting

A

𝜏- Error correcting
d(C) ≥ 𝜏+1
can detect up to 𝜏 errors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

t- Error correcting

A

t- Error correcting
d(C) ≥ 2t+1
can correct up to t errors
using nearest neighbour algorithm

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

q-ary (n,M,d) codes

A

Codes block length n , M codewords and min dist d

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

q-ary (n,M,d) codes correct up to

A

t = floor((d-1)/2)
errors

proof: If x transmitted and y=x+e received weight(e)=t #errors

Contradiction:Assume there is a codeword z closer to y than x. (That we can’t correct t errors correctly).
d(z,y) ≤ d(y,x) then
d(z,x) ≤ d(x,y) +d(y,z) ≤2d(y,x) = 2w(x-y)= 2*t#errors ≤d-1 which contradicts the min distance
thus we can correct t errors correctly

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

d(C)inequalities for error detec and correct 3.5. Proposition

A

(a) d(C) ≥ t + 1 if and only if C can detect
up to t errors;
(b) d(C) ≥ 2t + 1 if and only if C can correct up to t errors using
“nearest neighbour” decoding.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

3.5. Proposition PROOF
(a) d(C) ≥ t + 1 if and only if C can detect
up to t errors;

A

Let C ⊆ S^n. Consider the collection of t-balls centred on all
x ∈ C. , balls NHD caused by up to t transmission errors.
(a) If d(C) ≥ t + 1 then no x lies in another’s ball. Thus if 1 up to
t errors occur then the received message is not in C and we know
we have an error.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

3.5. Proposition PROOF
(b) d(C) ≥ 2t + 1 if and only if C can correct up to t errors using
“nearest neighbour” decoding.

A

Let C ⊆ S^n. Consider the collection of t-balls centred on all
x ∈ C. , caused by up to t transmission errors.

(b) If d(C) ≥ 2t + 1 then even the balls are disjoint (this is
perhaps not so obvious with the Hamming distance, cf. say the
usual Euclidean metric, but the triangle inequality is what we need
to confirm it), and if 1 up to t errors occur then the received
message is closer to x than any other y ∈ C The reverse implications of (a) and (b) are left as an exercise.
Hint: You may assume that any number of errors can occur in any
positions. □

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

r-ball

A

ball of radius r (or
r-ball) centred on x is
Br(x) := {y ∈ S^n|d(x, y) ≤ r}
That is, the set of sequences that differ from x in no more than r
places

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

r-sphere

A

Sr(x) := {y ∈ S^n|d(x, y) = r}
That is, the ‘outer shell’ of an r-ball

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

The reverse implications of (a) and (b) are left as an exercise.
Hint: You may assume that any number of errors can occur in any
positions. □

A

c can detect up to t errors implies d(c) ≥ t + 1:

c can correct up to t errors implies d(c) ≥2 t + 1:

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

q-ary code of length n subset of….

How many subsets?

A

Σn^ _q
|P( Σn^ _q )|2^(q^n) #of these subsets

How well did you know this?
1
Not at all
2
3
4
5
Perfectly