필터 지우기
필터 지우기

Huffman Coding with norm2huff and huff2norm function

조회 수: 3 (최근 30일)
Ibnu Darajat
Ibnu Darajat 2019년 8월 14일
댓글: Walter Roberson 2019년 8월 15일
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
Ibnu Darajat
Ibnu Darajat 2019년 8월 15일
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 2019년 8월 15일
Sum of (probability times length of encoding) , where probability is fraction of occurrences in the original source.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Large Files and Big Data에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by