Show why the overall code is uniquely decodable

Assignment Help Civil Engineering
Reference no: EM131100443

(Run-length coding) Suppose X1, X2 . is a sequence of binary random symbols with pXa = 0
9 and pXb = 0.1. We encode this source by a variableto-variable-length encoding technique known as run-length coding. The source output is first mapped into intermediate digits by counting the number of occurrences of a between each

b. Thus an intermediate output occurs on each occurence of the symbol b. Since we do not want the intermediate digits to get too large, however, the intermediate digit 8 is used on the eighth consecutive a, and the counting restarts at this point. Thus, outputs appear on each b and on each eighth

a. For example, the first two lines below illustrate a string of source outputs and the corresponding intermediate outputs: ba

1695_36979d20-e43a-4938-918e-3a13528a24d3.png

The final stage of encoding assigns the codeword 1 to the intermediate integer 8, and assigns a 4 bit codeword consisting of 0 followed by the 3 bit binary representation for each integer 0 to 7. This is illustrated in the third line above.

(a) Show why the overall code is uniquely decodable.

(b) Find the expected total number of output bits corresponding to each occurrence of the letter

b. This total number includes the 4 bit encoding of the letter b and the 1 bit encodings for each consecutive string of eight occurrences of a preceding that letter b.

(c) By considering a string of 1020 binary symbols into the encoder, show that the number of occurrences of b per input symbol is, with very high probability, very close to 0.1. (d) Combine parts (b) and (c) to find L, the expected number of output bits per input symbol.

Reference no: EM131100443

Questions Cloud

What change occurs organizationally : What Change Occurs Organizationally? A community liaison officer (CLO) in each police precinct. Job duties of the CLO will include attending community meetings and listening to community concerns in order to determine an appropriate response.
Find the mean and variance of na : One point of this exercise is to illustrate that the Chebyshev inequality used in bounding PrT in the text is very weak (although it is a strict bound, whereas the Gaussian approximation here is relatively accurate but not a bound). Another point..
Prepare a report to be distributed internally to department : Prepare a 2- to 3-page report to be distributed internally to department employees on "Centervale Policing, a Community-Based Approach."
Civilization broadcasting a signal : Consider a civilization broadcasting a signal with a power of 1.4×104 watts. The Arecibo radio telescope, which is about 300 meters in diameter, could detect this signal if it is coming from as far away as 118 light-years. Suppose instead that the..
Show why the overall code is uniquely decodable : By considering a string of 1020 binary symbols into the encoder, show that the number of occurrences of b per input symbol is, with very high probability, very close to 0.1. (d) Combine parts (b) and (c) to find L, the expected number of output bi..
Pairs of jeans to the cost of the jeans : Look at the table that reprecents the local store (1 pair or jean $24 ,2 pair of jean $48 , 3 pair of jean $72 ) for each row in the table , find the ratio of the number of pairs of jeans to the cost of the jeans.
The good homes construction : Reconsider Prob. 10.5-4 involving the Good Homes Construction Co. project to construct a large new home. Michael Dean now has generated the plan for how to crash this project (as given as an answer in the back of the book).
Expected profit per warranty : If the store charges $15 for the extended warranty, what will their expected profit per warranty be? If the company sells 100,000 projectors and 15% of the customers purchase the extended warranty, what will their expected profits from extended wa..
Obtaining future contracts for defense work : Reconsider the Lockhead Aircraft Co. problem presented in Prob. 10.4-6 regarding a project to develop a new fighter airplane for the U.S. Air Force. Management is extremely concerned that current plans for this project have a substantial likelihoo..

Reviews

Write a Review

Civil Engineering Questions & Answers

  Calculate and plot the exit pressure

calculate and plot the exit pressure, the exit velocity, and the mass flow rate versus the back pressure Pb for 0.9 ≥ Pb ≥ 0.1 MPa.

  We compare brass and bronze

If we compare brass and bronze having 90% copper, brass (alloy with zinc) will have less yield strength than bronze (alloy with tin). Why?

  Determine the magnitude of the moment produced

The pipe assembly is secured on the wall by the two brackets. If the flower pot has a weight of 50lb, determine the magnitude of the moment produced about the x, y and z axes.

  Determine the values of x and z for the coordinates of point

If the resultant force is directed along the boom from point A towards O, determine the values of x and z for the coordinates of point C. Set F sub B equal to 1490 N and F sub C equal to 2320 N.

  How many tanks do you need

A POTW treats 4 MGD. The SBR is 0.25 MG. How many tanks do you need? Assume that the tank already has 25% of Its volume in sludge and that the fill time is 3 hours, the react time is 2 hours (the total aeration time is 4 hours), the settle time is..

  The connection is through the flange

Select an ST shape to be used as a 20-ft long tension member to resist the following service loads: Dead load=38kips live load=115 kips and snow load= 75 kips. The connection is through the flange with 3/4inch diameter bolts in each line. Use A572 Gr..

  Calculate the mass of ammonium added to 1 l of water

Ammonium (NH4+) is a weak acid with a pKa of 9.26. The dissociation is: NH+4 NH3 + H+. Calculate the mass of ammonium added to 1 L of water in order to obtain a pH of 4 at equilibrium.

  What is the definition of a customer

What is the definition of a customer? What are some examples of internal and external customers? Is the measurement of customer satisfaction different for internal customers than for external customers?

  How many kilowatt-hours of electricity would be saved

Suppose the utility encourages its customers to replace their 75-W incandescents with 18-W compact fluorescent lamps (CFL) that produce the same amount of light. Over the 10,000-hr lifetime of a single CFL,

  Personalized Cancer Therapy-A step forward

Cancer is the uncontrolled growth of abnormal cells in the body resulting in tumours that can be benign or malignant (cancerous cells). A proper treatment is necessary to fight with this serious disease.

  Determine the minimum required wire diameter assuming

A large steel tower is to be supported by a series of steel wires; it is estimated that the load on each wire will be 19,000N. Determine the minimum required wire diameter assuming a factor of safety 5 and that the yield strength of the steel is 900M..

  Formula for the number of bridges

Write a formula for the number of bridges that minimizes the sum of the construction and detour costs. (This is not necessarily the solution that society would choose based on the political process, but it should be a rough approximation.)

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