Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.


tresha
Posts:
2
Registered:
5/2/13


Huffman coding
Posted:
May 2, 2013 10:08 AM


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 07) using uniform quantization; The data was converted to binary and saved. 3. The probability of each symbol (8 symbol: level 07); 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...



