Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask MATLAB Expert

problem 1: Consider a source with 4 symbols {a,b,c,d}. The probability of the 4 symbols are:

P(a) = 0.4, p(b) = 0.1, p(c) = 0.2, p(d) = 0.3.

a) Design a Huffman codebook for such symbols. Find out the average bit rate and compared it to the entropy of this source.

b) Code the sequence {aacddacbda} by using the codebook you designed. prepare the resultant binary bits stream. Compute the average bit rate.

problem 2: Suppose that you have strings of characters containing only the vowels 'A', 'E', 'I', 'O' and 'U'. An analysis of a random sampling of your data displays the probability of each character:

A        E       I       O      U
.23    .35    .05    .25    .12

a) As there are only 5 characters in the data, the string can be encoded by assigning each character a fixed 3-bit code. Why are 3 bits sufficient?
 
b) Consider the given string of vowels:

IUAUAAAAOAOOOOEOEEEOEEEIUUEEAAEEEOOEE

For this string, what percentage reduction does your Huffman encoding accomplish over a 3 bit fixed length encoding?

problem 3: Consider the given alphabet {a, c, d, e, i } with probabilities as shown:

p(a) = 0.5; p(c) = 0.2, p(d) = 0.15, p(e) = 0.1, p(i) = 0.05

Arithmetically encode and decode the word “dice”. Suppose that the computer know the word has a fixed length of four.

MATLAB, Engineering

  • Category:- MATLAB
  • Reference No.:- M9994

Have any Question? 


Related Questions in MATLAB

Discrete communicationsobjectiverevision of fundamental

Discrete Communications Objective: Revision of fundamental concepts and demonstration of necessary foundation skills. Assessment: The assignment will comprise 20% of your final mark and all ten problems will be of equal ...

Consider the signal vt given belowwrite a matlab script to

Consider the signal v(t) given below. Write a MATLAB script to do the following (a) Display v(t) and v(2t-1) in window 1 by using subplot. (b) Display both the even component and odd component of v(t) in window 2 by usin ...

Assignment - instructions for the overall material

Assignment - Instructions for the Overall Material Balance Work with your learning pod to perform an overall material balance for fuel-grade ethanol production.  This balance is much simplified, but will help you to revi ...

Question 11 introductionmeasurements have been made of a

Question 1: 1 Introduction: Measurements have been made of a cantilever beam's deflection (stored in the file ass2q1in.csv). You must determine what type of loading has been applied and the magnitude of the load. There a ...

Introduction to programming in matlab1 working with matlab

Introduction to Programming in MATLAB 1. Working with MATLAB scalars, vectors, and complex numbers. Using MATLAB, define a unique variable for the following quantities. a. 5 (ex. Define x = 5, etc.) b. 25 2 c. (3 + 4??) ...

Project 1complete parts 1a 1b and 1cprepare a report

Project 1 Complete parts 1A, 1B, and 1C Prepare a report describing your steps and results Send by email a zip or rar file that contains the report and all MATLAB files you have used. Project 1A: In this project, we cons ...

Problem - the state estimation equation in the discrete

Problem - The state estimation equation in the discrete Kalman filter is x ^ (n|n) = A(n - 1)x ^ (n - 1|n - 1) + K(n)[y(n) - C(n)A(n - 1)x ^ (n - 1|n - 1)] Thus, given the state transition matrix A(n) and the observation ...

Topic matlab coding signals and systems sampling fourier

Topic: MATLAB coding, signals and systems, sampling, Fourier analysis, FFT, new transform techniques Purpose of the assessment: The purpose of this assignment is to motivate students to learn MATLAB programming and how t ...

Problem 1 the two foremost aerospace companies in the usa

PROBLEM 1: The two foremost aerospace companies in the USA are Lockheed and Boeing. They often compete for government contracts. A major factor in awarding a contract is the claimed reliability of the given system to be ...

Implement copy-move image forgery detection in matlabpaper

Implement Copy-move image forgery detection in Matlab. Paper - Copy-move image forgery detection based on Gabor magnitude by Jen-Chun Lee. With advancement of media editing software, even people who are not image process ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

A cola-dispensing machine is set to dispense 9 ounces of

A cola-dispensing machine is set to dispense 9 ounces of cola per cup, with a standard deviation of 1.0 ounce. The manuf

What is marketingbullwhat is marketing think back to your

What is Marketing? • "What is marketing"? Think back to your impressions before you started this class versus how you

Question -your client david smith runs a small it

QUESTION - Your client, David Smith runs a small IT consulting business specialising in computer software and techno

Inspection of a random sample of 22 aircraft showed that 15

Inspection of a random sample of 22 aircraft showed that 15 needed repairs to fix a wiring problem that might compromise

Effective hrmquestionhow can an effective hrm system help

Effective HRM Question How can an effective HRM system help facilitate the achievement of an organization's strate