Linear code with generator matrix , Mathematics

Assignment Help:

1. Consider the code of size 4 (4 codewords) and of length 10 with codewords listed below.

0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 1 1 1 1 1

1 1 1 1 1 0 0 0 0 0

1 1 1 1 1 1 1 1 1 1

a) Is this code a linear code? b) What is the minimum distance of the code and how many errors can the code correct? c) What is the union bound on the decoded error probability of this code when the channel is a binary symmetric channel with crossover probability p?

(The channel is also memoryless; that is any bit is in error independent of the all other bits being in error or not). d) Find a decoding rule that requires for any particular received vector y = (y1, y2, . . . , y10) two computations of the Hamming distance between two vectors of length 5 to determine which codeword was sent. (The decoding rule must be such that if the number of errors is less than the correct answer to part (b) the decoding rule will be able to correct these errors).

2. (a) The Hamming code has the following parity check matrix

747_matrix1.png

If the received vector is r = (0,1,0,1,1,1,1) find the most likely transmitted codeword (over a binary symmetric channel with error probability less than 1/2). What is the error correcting capability of the code.

(b) For the linear code with generator matrix shown below find the minimum distance of the code, the error correcting capability of the code and the code rate. Find a upper bound on the probability of a codeword decoding error on a binary symmetric channel.

2475_matrix2.png

3. Code 4 in the lecture notes (on line version) contains 32 codewords of length 15 with minimum distance 7.

(a) Simulate a communication system with this code on an additive white Gaussian noise channel. Count (at least) 100 errors and plot the error probability for signal-to-noise ratios (Eb/N0) from 0 to 6dB in steps of (no more than) 0.5dB.

(b) Determine the union bound on the performance and also plot (on the same plot as part

(a)) the union bound.

(c) Simulate the performance of a hard decision decoder that always decodes to the closest codeword. Plot the codeword error probability (on the same plot as (a) and (b)).

(d) Plot the union bound to the performance of a hard decision decoder (of part (c)).

(e) Simulate the performance of a bounded distance decoder that only corrects 0,1,2 or 3 errors. Determine the probability of choosing the wrong codeword and the probability that the received vector is not within distance 3 of any codeword (this is called a decoding failure).

(f) For a bounded distance decoder and a hard decision channel, i.e. a BSC, analyze (provide a formula) for the probability the decoder does not output the correct codeword.


Related Discussions:- Linear code with generator matrix

Triangles, The sides of a triangle are x^(2 )+x+1, 2x+1,x^2-1, prove that t...

The sides of a triangle are x^(2 )+x+1, 2x+1,x^2-1, prove that the largest angle is 120 degrees, and find range of x. Ans) The biggest side is x^(2) + x + 1 so findout the angl

Calculate the acceleration time, Question A 22 kW, 3-phase, 415 V, 40 A,...

Question A 22 kW, 3-phase, 415 V, 40 A, 50 Hz, 960 rpm, 0.88 PF squirrel cage induction motor drives a pump. The total inertia of the drives system is 1.2 kg-m2. Determine th

Volume of grains in the silo , The volume of grains in a silo at a particul...

The volume of grains in a silo at a particular time (measured in hours) is given by V (t) = 4t(3-t) m 3 . Find the rate of change of the volume of grains in the silo from first pri

Curvature - three dimensional space, Curvature - Three Dimensional Space ...

Curvature - Three Dimensional Space In this part we want to briefly discuss the curvature of a smooth curve (remind that for a smooth curve we require → r′ (t) is continuou

Calculate how much ribbon is needed to wrap the box, Ribbon is wrapped arou...

Ribbon is wrapped around a rectangular box that is 10 by 8 by 4 in. Using the example provided, calculate how much ribbon is needed to wrap the box. consider the amount of ribbon d

Show that p ( x ) = 2 x3 - 5x2 -10 x + 5 intermediate value , Example   Sh...

Example   Show that p ( x ) = 2 x 3 - 5x 2 -10 x + 5 has a root somewhere in the interval [-1,2]. Solution What we're actually asking here is whether or not the function wi

Example of adding signed numbers, Example of Adding signed numbers: E...

Example of Adding signed numbers: Example: (2) + (-4) =      Solution: Start with 2 and count 4 whole numbers to the left. Thus: (2) + (-4) = -2 Adding

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd