Docsity

Coding Theory - Problem Set 10 Solutions | ECE 556, Assignments of Electrical and Electronics Engineering

Toggle sidebar
bg1
University of Illinois Fall 2004
ECE 556/CS 577/MATH 579: Solutions to Problem Set 10
1. Using Hamming distance as the metric, I get
00 01 10 10 10 01 10 10 11
00
01
10
11
R
0 0 1 2 2 3 3 3 4 3
2 1 2 2 3 3 3
2 2 2 2 3 3
4 1 2 2 2 3 3
The most likely codeword differs from
R= 00 01 10 10 10 01 10 10 11
in three places and is given by
C= 11 01 10 10 10 01 00 10 11.
The data sequence is u= 1111101 followed by two zeroes to flush the encoder buffer.
2. What is supposed to happen in this problem, but actually does not because of the
very small constraint length, is that distances of all the survivor paths increase almost
uniformly and there is no merging of survivor paths. In contrast, with proper framing,
one path stands out very quickly as the best. Viterbi decoders use the difference
between path metrics to decide if they are not in synchronism. Then, the decoder
skips one bit in its input and re-frames the succeeding bits to see if that improves
matters. If not, skip another bit, and so on upto kbits for a (n, k) code.
3. Suppose that ˜
Pis chosen as the most likely path through the code tree. Then, the
entry [(V0, V1, . . . , Vd); L(V)] must have been at the top of the stack at some time. At
this time, the entry was removed from the stack, expanded into the two entries
[(V0, V1, . . . , Vd, Vd+1); L(Vd+1)] and [(V0, V1, . . . , Vd,˜
Vd+1); L(˜
Vd+1)]
and the new entries were inserted into the stack at the appropriate places. Thereafter,
some entry of the form [(V0, V1, . . . , Vd, . . . , Vd+i); L(Vd+i)] will always be in the stack.
Now, suppose that L(˜
Vd+j) = min{L(˜
Vd+1), L(˜
Vd+2), . . . , L(˜
VM)}. When the stack de-
coder creates the entry [(V0, V1, . . . , Vd,˜
Vd+1, . . . , ˜
Vd+j); L(˜
Vd+j)] and inserts it into the
stack, this entry will necessarily be below the entry [(V0, V1, . . . , Vd, . . . , Vd+i); L(Vd+i)].
Since there is always an entry of the latter type in the stack, the entry correspond-
ing to the partial path V0, V1, . . . , Vd,˜
Vd+1, . . . , ˜
Vd+jwill never rise to the top of the
stack, never get extended (if d+j < M), and hence ˜
Pwill not be chosen by the stack
algorithm.

Partial preview of the text

Download Coding Theory - Problem Set 10 Solutions | ECE 556 and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

University of Illinois Fall 2004

ECE 556/CS 577/MATH 579: Solutions to Problem Set 10

  1. Using Hamming distance as the metric, I get

R

The most likely codeword differs from

R = 00 01 10 10 10 01 10 10 11

in three places and is given by

C = 11 01 10 10 10 01 00 10 11.

The data sequence is u = 1111101 followed by two zeroes to flush the encoder buffer.

  1. What is supposed to happen in this problem, but actually does not because of the

very small constraint length, is that distances of all the survivor paths increase almost

uniformly and there is no merging of survivor paths. In contrast, with proper framing,

one path stands out very quickly as the best. Viterbi decoders use the difference

between path metrics to decide if they are not in synchronism. Then, the decoder

skips one bit in its input and re-frames the succeeding bits to see if that improves

matters. If not, skip another bit, and so on upto k bits for a (n, k) code.

  1. Suppose that

P is chosen as the most likely path through the code tree. Then, the

entry [(V 0

, V

1

,... , V

d

); L(V )] must have been at the top of the stack at some time. At

this time, the entry was removed from the stack, expanded into the two entries

[(V

0

, V

1

,... , V

d

, V

d+

); L(V

d+

)] and [(V 0

, V

1

,... , V

d

V

d+

); L(

V

d+

)]

and the new entries were inserted into the stack at the appropriate places. Thereafter,

some entry of the form [(V 0

, V

1

,... , V

d

,... , V

d+i

); L(V

d+i

)] will always be in the stack.

Now, suppose that L(

V

d+j

) = min{L(

V

d+

), L(

V

d+

),... , L(

V

M

)}. When the stack de-

coder creates the entry [(V 0 , V 1 ,... , Vd,

Vd+1,... ,

Vd+j ); L(

Vd+j )] and inserts it into the

stack, this entry will necessarily be below the entry [(V 0

, V

1

,... , V

d

,... , V

d+i

); L(V

d+i

)].

Since there is always an entry of the latter type in the stack, the entry correspond-

ing to the partial path V 0 , V 1 ,... , Vd,

Vd+1,... ,

Vd+j will never rise to the top of the

stack, never get extended (if d + j < M ), and hence

P will not be chosen by the stack

algorithm.