Let A be the set of all strings of O's and 1's, and let T be the set of all strings of O's and 1's that consist of consecutive triples of identical bits. Consider the coding and decoding functions E and D defined in Example 7.1.9. The encoding function E: A → T is defined as follows. For each string s E A, E(s) = the string obtained from s by replacing each bit of s by the same bit written three times. The decoding function D: T → A is defined as follows. For each string t e T, D(t) = the string obtained from t by replacing each consecutive triple of three identical bits of t by a single copy of that bit. (a) Find E (0110) and D (111111000111). E (0110) D (111111000111) (b) Find E (1010) and D (000000111111). E (1010) D (000000111111)
Let A be the set of all strings of 0's and 1's, and let T be the set of all strings of 0's and 1's that consist of consecutive triples of identical bits. Consider the coding and decoding functions E and D defined in Example 7.1.9.
The encoding function E: A → T is defined as follows. For each string s ∈ A, E(s) = the string obtained from s by replacing each bit of s by the same bit written three times.
The decoding function D: T → A is defined as follows. For each string t ∈ T, D(t) = the string obtained from t by replacing each consecutive triple of three identical bits of t by a single copy of that bit.
(a) Find E (0110) and D (111111000111).
(b) Find E (1010) and D (000000111111).


Trending now
This is a popular solution!
Step by step
Solved in 2 steps









