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

Probability of independent events, Q. Probability of Independent Events? ...

Q. Probability of Independent Events? Ans. Consider these two events:  {My name is Shirley} {The rain is falling} Are these events related to each other?  No.  My name

Define regression, Define regression. The main reason of curve fitting ...

Define regression. The main reason of curve fitting is to estimate one of the variables (the dependent variable) from the other (the independent variable). The procedure of est

The cost of renting a bike at the local bike is y = 2x + 2, The cost of re...

The cost of renting a bike at the local bike shop can be represented through the equation y = 2x + 2, where y is the total cost and x is the number of hours the bike is rented. Whi

construct an isosceles triangle, 1. Construct an isosceles triangle whose ...

1. Construct an isosceles triangle whose base is 7cm and altitude 4cm and then construct another similar triangle whose sides are 1/2 times the corresponding sides of the isosceles

Vector form of the equation of a line, Vector Form of the Equation of a Lin...

Vector Form of the Equation of a Line We have, → r = → r 0 + t → v = (x 0 ,y 0 ,z 0 ) + t (a, b, c) This is known as the vector form of the equation of a line.  The lo

Develop a linear algebraic equation, Introduction: "Mathematical liter...

Introduction: "Mathematical literacy is an individual's capacity to identify and understand the role that mathematics plays in the world, to make well-founded judgments, and t

Definition of the laplace transform, Definition Assume that f(t) is a ...

Definition Assume that f(t) is a piecewise continuous function. The Laplace transform of f(t) is denoted L{ f (t )} and defined by, There is an optional notation for L

Area of a hyperbolic wedge, The unit circle will be parametrized by (cosw, ...

The unit circle will be parametrized by (cosw, sinw). Provide a point on it, the region cut out by circle, the x-axis, and the line from the origin to this point has covered area w

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