Question

In: Computer Science

A (7, 4) cyclic code is designed with a generator polynomial, g(D) = D3 + D...

A (7, 4) cyclic code is designed with a generator polynomial, g(D) = D3 + D + 1. a) (10 points) Determine the code word for the message, 1010. b) (10 points) Determine the code word for the message, 1100. c) (9+1= 10 points) Determine the error polynomial for the received word, 1110101. Is the received word correct?

Solutions

Expert Solution

The generator matrix will be a kn matrix with rank k. Since the choice of the basic vectors is not unique, the generator matrix is not unique for a given linear code. The generator matrix converts the vector of length k to a vector of length n. Let the input vector be represented by i. The coded symbol will be given by

C = iG

Where c is called the codeword and I is called the information word.

The generator matrix provides a concise and efficient way of representing a linear block code. The n× k matrix can generate qk codewords.

For length 7 binary cyclic codes we have the factorization into irreducible polynomials:

x7 − 1 = (x − 1)(x3 + x + 1)(x3 + x2 + 1).

Since we are looking at binary codes, all the minus signs can be replaced by plus signs:

x7 + 1 = (x + 1)(x3 + x + 1)(x3 + x2 + 1).

As there are 3 irreducible factors, there are 23 = 8 cyclic codes.The 8 generator polynomials are:

(i) 1 = 1

(ii) x + 1 = x + 1

(iii) x3+ x + 1 = x3 + x + 1

(iv) x3 + x2 + 1 = x3 + x2 + 1

(v) (x + 1)(x3 + x + 1) = x4 + x3 + x2 + 1

(vi) (x + 1)(x3 + x2 + 1) = x4 + x2 + x + 1

(vii) (x3 + x + 1)(x3 + x2 + 1) = x6 + x5 + x4 + x3 + x2 + x + 1

(viii) (x + 1)(x3 + x + 1)(x3 + x2 + 1) = x7 + 1

Here in (i) the polynomial 1 generates all F72. In (ii) we find the parity check code and in (vii) the repetition code. As mentioned before, in (viii) we view the 0-code as being generated by x7 + 1.

The polynomials of (iii) and (iv) have degree 3 and so generate [7, 4] codes, which we shall later see are Hamming codes. The [7,3] codes of (v) and (vi) are the duals of the Hamming codes.

For (7, 4) cyclic code, the polynomial 1+x7 can be factorized as 1+x7=(1+x)(1+x+x3)(1+x2+x3), G(x) =1+x+x3, the minimum distance is 3 of single-error.

Dividing x3, x4, x5& x6 by g(x), we have

x3 =g(x) +1+x

x4 =xg(x)+x+x2

x5=(1+x2)g(x)+1+x+x2

x6=(1+x+x3)g(x)+1+x2

Rearranging the above, we have

V0(x)=1+x+x3

V1(x)=x+x2+x4

V2(x)=1+x+x2+x5

V3(x)=1+x2+x6

Considering above equation in matrix form, we obtain the generator matrix of order of (4*7) in systematic form in cyclic code.

(A)

(B)

(C)


Related Solutions

A (7, 4) cyclic code is designed with a generator polynomial, g(D) = D3 + D...
A (7, 4) cyclic code is designed with a generator polynomial, g(D) = D3 + D + 1. a) (10 points) Determine the code word for the message, 1010. b) (10 points) Determine the code word for the message, 1100. c) (9+1= 10 points) Determine the error polynomial for the received word, 1110101. Is the received word correct?
A (7, 4) error correcting Hamming code is designed with a generator matrix, G = ...
A (7, 4) error correcting Hamming code is designed with a generator matrix, G =   1 0 0 0 0 1 1 0 1 0 0 1 0 1 0 0 1 0 1 1 0 0 0 0 1 1 1 1   . (1) a) (10 points) Determine the code word for the message, 0110. b) (10 points) Determine the code word for the message, 1100. c) (9 points) Determine the syndrome vector for the...
Consider a (15,5) linear block code (cyclic) in systematic form. The generator polynomial is given as...
Consider a (15,5) linear block code (cyclic) in systematic form. The generator polynomial is given as gx=1+X+X2+X5+X8+X10 . Design and draw the circuit of the feedback shift register encoder and decoder. Use the encoder obtained in part a to find the code word for the message [01011 ] . (Assume the right most bit is the earliest bit)                                                                 Repeat the steps of part b for decoding.                                                                                         Verify the codeword obtained in part b...
Cyclic Redundancy Check Given the data bits D = 110100101011, the generator G = 110011, r...
Cyclic Redundancy Check Given the data bits D = 110100101011, the generator G = 110011, r = 5. 1) Find the CRC. Give the detailed steps of your computation. 2) What does the sender send? 3) Show how the receiver verifies the received data. Assume there is no error. (mostly need help with this step!)
Assume a 10-bit data sequence, D = 1100101001 and generator polynomial, P(X) = X^4 + X^3...
Assume a 10-bit data sequence, D = 1100101001 and generator polynomial, P(X) = X^4 + X^3 + X + 1. a. Calculate FCS and indicate the transmitted bit sequence. b. In the class, we learned that a bit error in the data portion can be detected at the receiver. Can the receiver detect a bit error if it happens in the FCS field? Show an example by assuming that the last two bits in the FCS field are in error.
How many cyclic codes of length 4 are there over F5? Find a generator matrix and...
How many cyclic codes of length 4 are there over F5? Find a generator matrix and a parity check matrix for each 2-dimensional code.
We want to compute Cyclic Redundancy Check (CRC) for the given the data bits D=110001, generator...
We want to compute Cyclic Redundancy Check (CRC) for the given the data bits D=110001, generator G=1001, and 3 CRC bits (i.e., r=3),. Explain the algorithm and implement the CRC computation in a programming language (e.g., C, C++, and Python) with the above setting.
PLEASE USE PYTHON CODE 7. Use Newton's method to find the polynomial that fits the following...
PLEASE USE PYTHON CODE 7. Use Newton's method to find the polynomial that fits the following points: x = -3, 2, -1, 3, 1 y = 0, 5, -4, 12, 0
Construct a BCH (7,4) code with the generator matrix G(p)=p3 +p+1. (Draw the structure of the...
Construct a BCH (7,4) code with the generator matrix G(p)=p3 +p+1. (Draw the structure of the encoder )
Let G = Z4 × Z4, H = ⟨([2]4, [3]4)⟩. (a) Find a,b,c,d∈G so that G...
Let G = Z4 × Z4, H = ⟨([2]4, [3]4)⟩. (a) Find a,b,c,d∈G so that G is the disjoint union of the 4 cosets a+H,b+ H, c + H, d + H. List the elements of each coset. (b) Is G/H cyclic?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT