Interval coding1 for the ensemble x with alphabet a 1 2 3

Assignment Help Computer Engineering
Reference no: EM13347596

Interval Coding

1. For the ensemble X with alphabet A = { 1, 2, 3} and probabilities p = ( 1=4, 1=3, 5=12 )

(a) Evaluate the cumulative distribution function F(a) = P(x ≤ a) for a ∈ A and give the values of F(1), F(2), and F(3)

(b) Evaluate the binary intervals for [F(0), F(1))2, [F(1), F(2))2, and [F(2), F(3))2 (where F(0) = 0). Use the repeating notation (e.g., 0:101) where necessary.

(c) Construct the Shannon-Fano-Elias code for X, code the input sequence x = 3 3 1 1 2, and decode the sequence 011001110.

(d) Evaluate the expected length L(C,X) for the code just constructed.

(e) Is the code you just constructed an optimal code in terms of expected length? Explain why or why not?

Arithmetic Coding

1. Consider the Dirichlet multinomial model with m = (3, 3, 3) for the alphabet A = {a, b, c}. Evaluate the following probabilities under this model:

(a) P(x = b)
(b) P(x = a|baa)
(c) P(x = b|ac)
(d) P(x = c|s) where s is a sequence consisting of 100 as and 200 bs and no cs.

2. Using an arithmetic coder with the above Dirichlet multinomial model:

(a) Code the sequence cba.
(b) Decode the rst three symbols of the input sequence 11111 : : : of all 1s. Be sure to show the intervals and probabilities at each step.

3. Without doing a new coding, describe how the arithmetic code for cba would be di erent from the previous one if a Dirichlet multinomial model with m = (1, 100, 1) was used. Explain what sort of input sequences would be given the longest arithmetic codes under this new model?

Lempel-Ziv Coding

1. Use the LZ78 algorithm to code the sequence aaabababaaaa. Show the steps you used to build the code.

2. What kind of sequences from the alphabet A = {a, b}:
(a) Result in the longest possible LZ77 codes, assuming a window size of W = 2?
Give an example.
(b) Result in the longest possible LZ78 codes? Give an example and show the resulting tree.

Noisy-Channel Coding

1. Consider a channel with inputs X = fa, b, cg, outputs Y = fa, cg, and transition matrix

150_Noisy-Channel Coding.png

(a) Assuming a uniform distribution over input symbols, what is the mutual information I(X, Y ) between the input and output of the channel? What is the average probability of error?

(b) Assuming a distribution p = (0:5, 0, 0:5) over input symbols, what is the mutual information and average probability of error?

(c) Using the previous answer, give a non-zero lower bound for the capacity of this channel?

(d) Design a simple code for this channel that achieves a maximal probability of error less than 0:05.

2. Let Q be a channel with four inputs and outputs, each expressed as a 2-bit symbol.

That is, X = Y = { 00, 01, 10, 11}. Each time this channel is used, exactly one of the two input bits is flipped and the other are transmitted unchanged. Both bits are equally likely to be the one that is
ipped.

(a) Write out the transition matrix for this channel

(b) Evaluate the capacity of this channel.

(c) Design a block code with zero error for this channel with the highest possible rate.

Reference no: EM13347596

Questions Cloud

Plot way forms for the subsequent modulation schemes using : plot way forms for the subsequent modulation schemes using matlaba 2 asknbspnbspnbspnbspnbspnbspnbspnbspnbspnbspnbsp b
Doctors record heart sound signals from patients in : doctors record heart sound signals from patients in hospitals in an environment in which many background noises occur.
Implementation of the projectin this project we are : implementation of the projectin this project we are implementing the analog and digital modulation techniques.analog
Question 1topicaccounting for extractive industrieshenry : question 1topicaccounting for extractive industrieshenry mining company commenced operations on 1 july 2010. during
Interval coding1 for the ensemble x with alphabet a 1 2 3 : interval coding1. for the ensemble x with alphabet a 1 2 3 and probabilities p 14 13 512 a evaluate the cumulative
Write a c program to do the followingwrite a program that : write a c program to do the followingwrite a program that reads a data file of floating numbers into an array and
Assignment 1prepare solutions to the following questions : assignment 1prepare solutions to the following questions concerning topics covered in the first half of the
Problem 1budgets in managerial accountingsantiagos salsa is : problem 1budgets in managerial accountingsantiagos salsa is in the process of preparing a production cost budget for
Johnson companys balance sheet section with intangible : johnson companys balance sheet section with intangible assets at 12312012 is presented below.costless

Reviews

Write a Review

Computer Engineering Questions & Answers

  Designing the flow chart and algorithm

Write down an algorithm and develop a flow chart to find all the people who have computer experience and at least five years of company service.

  Use electronic monitoring to measure employee productivity

assume that you are an IT consultant who has been given the task of preparing a report for the management board of a software house that is currently thinking of implementing electronic monitoring throughout its operations.

  Impact on the quality of software available for used

Will commercial software manufacturers be justified in raising their prices to make up for revenue lost to open source competitors? Do you think that strategy will be effective.

  How to produce a data model segment

Some mechanics are specialized in engine (EN) maintenance. Some mechanics are specialized in the airframe (AF) maintenance. Some mechanics are specialized in avionics (AV) maintenance.

  Write a function playexpert

Write a function playExpert(marbles) that given a number of marbles returns the number of marbles that the computer will take following the expert mode rules.

  Finding domain name available to company

Use the Internet resources in order to determine which domain name is available to company. Judge if you would use a .com, .org, or .net for the Web address.

  Modify a for loop that calculates the total

modify a While Loop that lets the user enter a number. The number should be multiplied by 10, and result stored in a variable named product. The loop should iterate as long as product contains a value less than 100.

  Make a class named student

design a class named ShowStudent that instantiates a Student object from th eclass and then display all the vlaues associated with the Student. Save as ShowStudent.java

  How to construct a permutationgenerator object

note down  a program that produces random permutations of the numbers 1 to 10. To generate a random permutation, you need to fill an array with the numbers 1 to 10 so that no two entries of \array have the same contents.

  Application showing files name-size and last modifiaction

Make a file by utilizing any word-processing program or the text editor. Write down an application which shows the file's name, size, and time of the last modification.

  What aspect of data is problematic

What aspect of data is problematic

  Prompts the user to enter the number of students

Write down a Java program that prompts the user to enter the number of students and each student's name and score, and finally displays the student with the highest score and the student with second-highest score.

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