Loading...

Messages

Proposals

Stuck in your homework and missing deadline? Get urgent help in $10/Page with 24 hours deadline

Get Urgent Writing Help In Your Essays, Assignments, Homeworks, Dissertation, Thesis Or Coursework & Achieve A+ Grades.

Privacy Guaranteed - 100% Plagiarism Free Writing - Free Turnitin Report - Professional And Experienced Writers - 24/7 Online Support

Matlab code for huffman coding pdf

08/12/2021 Client: muhammad11 Deadline: 2 Day

ELEG 4003 Communications Theory

Fall 2014

Course Project #1

(Max. Score: 20)

Date Assigned: 09/16/2014

Assignment Due Date: October 02, 2014

Instruction:

Adherence to Prairie View A&M University's honor code is fully expected. Discussion with

other team members or getting external help is strictly prohibited (i.e., if you have any

doubts, consult the course instructor on the interpretation of problems). Each team of three

students needs to submit only one report. Clearly indicate the contributions of each group

members in the report. You should also write and sign the honor pledge on the project

report: “We have neither given nor received unauthorized assistance on this assignment.”

Late submissions (after 11:00 am on 10/02/2014) will not be accepted/graded.

Question 1 (10 points)

Consider a three-symbols alphabet with the specified probability of assignment shown below:

Listed with the input alphabet are six binary code assignments.

(a) Scan these codes and determine which codes are practical (can be used for data compression

application). Justify your answers.

(b) Design a Huffman code for the above three-symbols source alphabet shown above and find its

code efficiency (i.e., compression efficiency).

(c) Design a Shannon-Fano code for the above three-symbol source alphabet shown above and

find its code efficiency. Compare it with your answer in part (b).

(d) Can you suggest a technique to improve the code efficiency to achieve a greater compression

ratio? Determine the code efficiency for your improved source coding method.

Xi P(Xi)

a 0.70

b 0.25

c 0.05

Symbol Code 1 Code 2 Code 3 Code 4 Code 5 Code 6

a 00 00 0 1 1 1

b 11 01 1 10 01 00

c 11 10 11 100 11 01

Question 2 (10 points): Huffman Coding

In this problem, you will study the efficacy of Huffman source coding (data compression algorithm)

on two different data sources. Generate two test data files data1.txt and data2.txt. Create the first test

data file data1.txt such that it contains at least 20 characters (including spaces). Next create a second

test data file data2.txt consisting of about 20 binary digits (i.e., digits 0 and 1).

(a) Suppose you wish to compress the data1.txt and data2.txt using Huffman source coding method.

Find the compression efficiency and the average codeword length. Clearly show your final code

design (i.e., codeword for each source symbol).

(b) Repeat part (a) but now consider at least 5000 characters and 5000 digits for data1.txt and

data2.txt, respectively.

(c) Validate that your design and your program works fine (i.e., correct data encoding and decoding)

for both of your test data files in parts (a) and (b). Compare your results with the compression effi-

ciency attainable with “compress” routine in UNIX or with other data compression utilities (e.g.,

zip). Explain any interesting observations and/or trends from your results.

(d) Explain why Huffman coding is NOT used for data compression of practical data sources? In

other words, why practical source compression utilities (e.g., zip, gnuzip, etc.) do not use Huffman

coding method despite its optimality?

(e) Explain why it might be more advantageous to employ the Lempel-Ziv algorithm over Huffman

coding method for digital multimedia (image/audio/video) data compression applications?

Your report should not be longer than 12 pages (single-line spacing). Your write-up should include:

(a) any source code (e.g., MATLAB commands or m-files) that you have written/used;

(b) a brief description of the data compression algorithms that you have utilized or implemented

(highlighting their unique features and possible improvements);

(c) discussions on your results including a comparison with other standard source coding (data com-

pression) utilities used in UNIX or MS-DOS operating systems;

(d) sample listing of the encoded sequence and decoded sequences.

Homework is Completed By:

Writer Writer Name Amount Client Comments & Rating
Instant Homework Helper

ONLINE

Instant Homework Helper

$36

She helped me in last minute in a very reasonable price. She is a lifesaver, I got A+ grade in my homework, I will surely hire her again for my next assignments, Thumbs Up!

Order & Get This Solution Within 3 Hours in $25/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 3 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 6 Hours in $20/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 6 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 12 Hours in $15/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 12 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

6 writers have sent their proposals to do this homework:

Write My Coursework
Pro Writer
Calculation Guru
Helping Hand
Ideas & Innovations
Maths Master
Writer Writer Name Offer Chat
Write My Coursework

ONLINE

Write My Coursework

I have worked on wide variety of research papers including; Analytical research paper, Argumentative research paper, Interpretative research, experimental research etc.

$44 Chat With Writer
Pro Writer

ONLINE

Pro Writer

As per my knowledge I can assist you in writing a perfect Planning, Marketing Research, Business Pitches, Business Proposals, Business Feasibility Reports and Content within your given deadline and budget.

$41 Chat With Writer
Calculation Guru

ONLINE

Calculation Guru

I have done dissertations, thesis, reports related to these topics, and I cover all the CHAPTERS accordingly and provide proper updates on the project.

$37 Chat With Writer
Helping Hand

ONLINE

Helping Hand

I have read your project details and I can provide you QUALITY WORK within your given timeline and budget.

$40 Chat With Writer
Ideas & Innovations

ONLINE

Ideas & Innovations

I will provide you with the well organized and well research papers from different primary and secondary sources will write the content that will support your points.

$25 Chat With Writer
Maths Master

ONLINE

Maths Master

I have read your project details and I can provide you QUALITY WORK within your given timeline and budget.

$39 Chat With Writer

Let our expert academic writers to help you in achieving a+ grades in your homework, assignment, quiz or exam.

Similar Homework Questions

Maslow's hierarchy of needs the blind side - Mental health nursing hertfordshire - Need a research paper---Each que 2 pages of answer ---apa is not required. - ¶¶™+2349022657119.i want to join occult for money ritual and voodoo speller Hoodoo Healer In Australia illuminate - Chemical reactions and equations lab - Irobot verro 500 for sale - Deakin bachelor of property and real estate - 20 lines poem in english - Topic 2 DQ 2 - Advanced Pathophysiology - Pestel analysis of snack food industry - Binocular cues ap psychology - Great man theory of leadership pdf - Eating habits and weight control ppt - Of mice and men crooks quotes - Cisco packet tracer tutorial for beginners - Collimation error two peg test - Texas Political - Wind like a whetted knife - Mgmt 449 csuf - All changed changed utterly a terrible beauty is born - Annotated Bibliography-Biology (Virginia Bog-Eared Bat) - Final Draft Revision - Economics Assignment 1 - Abb sace tmax settings - Facile synthesis - Physical threat to information systems - Wk7 DQ1 Discussion Question 1 – CLO 1, CLO 2, CLO 3, CLO 4, CLO 5, CLO 6, CLO 7, CLO 8 - Catering booking form template - 5/1 - Am i addicted to sexting quiz - SWOT Presentation & Reflection Essay - WEEK3-ResearchPaper-Data Science & Big Data Analy - Donald murray teaching writing as a process - Collaborative documentation - Feather friends inc distributes a high quality wooden birdhouse - Fsr meaning in banking - Emerging concepts that are using Big Data and Blockchain Technology - 6 components of health - 100 word question - My antonia answer key - Briggs and stratton starter clutch squeal - Oh my love metallic accordion pleat off the shoulder set - Vargas Family Case Study Topic 5 - 1 8 stock splits worksheet answers - Basic facial steps milady - Advantage of third class lever - Two Section Q & A - Volkswagen in russia case study - Equine tafe courses wa - Discussion 6 - How far is the closest black hole - Minimal human language module - World wide earthquake locator - How to find standard deviation on calculator casio fx-82ms - History Homework After the Fact - Woodcut of patriot woman - Organizational Culture - Calvin goddard contribution to forensic science - Nestle ice cream in cuba case study - How are nonrecaptured 1231 losses treated - In the rectangle below what is x - Is nursing an occupation or a profession - Pros and cons of humanitarian intervention - I need 3000 words on instruction Discover Test Failure Pattern - Kuwait population pyramid - Mysql insert in php - Chronological order of pern books - How to do formal analysis in art - Teaching strategies for students with sickle cell anemia - Discussion - Can't stand gerund or infinitive - How do I configure Comcast email account? - What does charting by exception mean - What fire extinguisher not to use on electrical - Royal college of pathologists - Reflection 9 - Summarize the three most important items as prioritizing time as manager on what's important to what is urgent. - Research Assignment 1B: Identify and propose - Protein synthesis & amino acid worksheet - Write a program that calculates and displays a person’s body mass index (bmi). - How to calculate drops per minute - Discussion: Examining Nursing Specialties - Http support ubisoft com - 19670 townline road mokena il - Steep turns common errors - Advance Pharmacology - Hound of the baskervilles discussion questions - How to apply kumkum on forehead - Approaches for effective written management communication - Benefits of Open Trade - Heat transfer crossword puzzle - Paragraph - How to win dots and boxes 4x4 - Cauchy euler differential equation problems - Economic from the ground up answers - Sir gawain and the green knight alliteration example - The old oaken bucket poem questions and answers - Post- Rufina - Transgenerational model of family therapy