Borrar filtros
Borrar filtros

Huffman Coding with norm2huff and huff2norm function

4 visualizaciones (últimos 30 días)
Ibnu Darajat
Ibnu Darajat el 14 de Ag. de 2019
Comentada: Walter Roberson el 15 de Ag. de 2019
I have an 8000 information signal and then it is compressed using huffman coding (norm2huff) and then the signal is transmitted over the rayleigh channel. And during the decompression process using the huff2norm function, the number of information signals increases to 8932. Can you explain why that happened? Thanks before
[zipped,info] = norm2huff(quantized_sound); %compress
unzipped = huff2norm(uint8(decoded),info); %de-compress
  10 comentarios
Ibnu Darajat
Ibnu Darajat el 15 de Ag. de 2019
In Huffman's theory, after data compression we can calculate the entropy, efficiency, and average code length. in this function, can we calculate the average code length (avglen)?
Walter Roberson
Walter Roberson el 15 de Ag. de 2019
Sum of (probability times length of encoding) , where probability is fraction of occurrences in the original source.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Large Files and Big Data en Help Center y File Exchange.

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by