Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Huffman coding
Replies: 3   Last Post: May 2, 2013 3:56 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
tresha

Posts: 2
Registered: 5/2/13
Huffman coding
Posted: May 2, 2013 10:08 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I have matlab 2013b and some of the syntaxes dont work on it when i am trying to write a program, so sometimes your help section doesnt help me when you give me a syntax... I have this assignment that i really need some help with...

Huffman coding was applied to compress a pcm.wav file.
1. A pcm.wav file was read into vector y;
2. Y was quantized into 8 levels (levels 0-7) using uniform quantization; The data was converted to binary and saved.
3. The probability of each symbol (8 symbol: level 0-7); the Huffman tree was constructed and the entropy of the source was calculated.
4. The symbols were encoded and form the compressed bit stream. This was then saved.
5. The coding efficiency was calculated and the compression ratio compared with PCM encoding.
Desperately need help...i tried for days to write this and it still dont work...



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.