


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



Solutions to Homework # 5
ECE 6605 Information Theory 10/27/ Prof. Steven W McLaughlin
α 1 β 2
Table 1 X C
α 1 β 2 αα 3
Table 2 X C
α 1 β 2 αα 3 ααα 4
Table 3 X C
α 1 β 2 αα 3 ααα 4 αβ 5
Table 4 X C
α 1 β 2 αα 3 ααα 4 αβ 5 β β 6
Table 5 X C
α 1 β 2 αα 3 ααα 4 αβ 5 β β 6 β α 7
Table 6 X C
α 1 β 2 αα 3 ααα 4 αβ 5 β β 6 β α 7 αβ β 8
Table 7 X C
α 1 β 2 αα 3 ααα 4 αβ 5 β β 6 β α 7 αβ β 8 β β α 9
Table 8 X C
α 1 β 2 αα 3 ααα 4 αβ 5 β β 6 β α 7 αβ β 8 β β α 9 αααβ 10
Table 9 X C
α 1 β 2 αα 3 ααα 4 αβ 5 β β 6 β α 7 αβ β 8 β β α 9 αααβ 10 β αα 11
The encoding then is as follows
1
3
1
2
2
5
6
4
7
4
b) Once again we will give the tables as they are built and then go into the decoded word and the correct encoding. Table 0 X C^
c 1 d 2
Table 1 X C
c 1 d 2 cd 3
Table 2 X C
c 1 d 2 cd 3 dc 4
Table 3 X C
c 1 d 2 cd 3 dc 4 cc 5
Table 4 X C
c 1 d 2 cd 3 dc 4 cc 5 cdd 6
Table 5 X C
c 1 d 2 cd 3 dc 4 cc 5 cdd 6 dcc 7
Table 6 X C
c 1 d 2 cd 3 dc 4 cc 5 cdd 6 dcc 7 ccc 8
Table 7 X C
c 1 d 2 cd 3 dc 4 cc 5 cdd 6 dcc 7 ccc 8 dccc 9
Table 7 (corr) X C
c 1 d 2 cd 3 dc 4 cc 5 cdd 6 dcc 7 ccc 8 cdc 9
Table 8 (corr) X C
c 1 d 2 cd 3 dc 4 cc 5 cdd 6 dcc 7 ccc 8 cdc 9 cccd 10
Therefore the decoded message will be
1
2
1
3
4
5
1
7
3
However the correct encoding (obtained using table 7 & 8 in their corrected versions) should have been
1
2
1
3
4
5
3
8
2
the interval of the first source output, expand it and then divide it again as shown in figure 1. We then use the midpoint of the last segment, which is 0.012471805, find its binary representation
therefore the codeword is 000000110011000 The entropy of a symbol is H
sequence is 8
from the transition matrix, let Pr
p
p
p
log 2
Now we also know that Pr
2 and
This is reasonable, since Pr
(remember, 0 is received perfectly). Then we can calculate capacity in bits as H
n
n
n
n
n
n
n
the same and for the first inequality the fact that conditioning reduces entropy. For the second inequality we used H
n
Now we know that
max
1
with memory have higher capacity. Intuitively we can explain it by observing that the memory implies that there will be correlation between the noise samples, we could then use a detector that extracts the information from the past samples to combat the present noise, thereby increasing capacity.