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

  The self resistance of a practical inductor

The self resistance of a practical inductor is (A) in series with the inductance. (B) in parallel with the inductance. (C) responsible for storing the magnetic energy. (D) No correct answer listed Capacitive reactance XC is:

  Determine what is the surface tension of the liquid

Outside diameter is 10 cm and inner diameter is 9.5cm. The Mass of the ring is 16g. The force required is the weight corresponding to a mass of 16g. What's the surface tension of the liquid

  Determine the magnitude of force p to produce

A thin-walled cylindrical tank of radius r is subjected simultaneously to internal pressure p and a compressive force P through rigid end plates. Determine the magnitude of force P to produce pure shear in the cylindrical wall.

  What is the exit state of the water

Water flows through a tube at a rate of 7.5 kg/min while heat is added to it at a rate of 4.5 kW. If water entered at 20 degrees celcius, determine the exit temperature. Assume the pressure remains constant at 1 atm throughout.

  Identify variable that is being solved by the laplace

Besides irrotation incompressible flow, list 3 physical processes governed by Laplace equation. (feel free to list more, they're a bonus)

  What fraction of chemical would you predict to reach ocean

The pesticide methyl parathion is leached into a stream from an abandoned disposal site. Is photolysis likely to be a significant sink for this chemical. If the travel time to the ocean is 5 days

  Determine the inclination theta of the ladder

Determine the inclination θ of the ladder if the coefficient of static friction between the friction pad A and the ground is μs= 0.3. Assume the wall at B is smooth. The center of gravity for the man is at G.

  Calculate the braking distance if only the front brakes work

An automobile traveling at 30 miles per hour on level pavement with a coefficient of kinetic friction of 0.6.  Weighs 3,000 lb.  Sixty percent of its weight is on the front axle and 40% on the rear axle.

  What rate is water being stored in the river

Water flows in a river. At 8 a.m. the flow past bridge 1 is 2150cfs. At the same instant the flow past bridge 2 is 1800 cfs. At what rate is water being stored in the river between the two bridges at this instant? Assume zero seepage and negligible e..

  Finding the gallons of mercury

How many gallons of mercury (sg=13.54) would weight the same as 5 gallons of castor oil which has a specific weight of 56.69 pcf?

  Measured tape length should be corrected by

An invar  tape haviong a nominal length of 100ft and a croos -sectional area of 0.005sq in. was standardized under a tesion of 15lb. when the tape wa

  Compute the required stirrup spacing at the given location

At a certain location along the span, a reinforce concrete beam section with d=14 in. and b=10 in. is subject to a design shear of Vu=50k. Using No.4 stirrups, compute the required stirrup spacing at the given location. assume F'c=3 ksi and Fy=40 ..

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