Please help my huffman encoding
조회 수: 2 (최근 30일)
이전 댓글 표시
>> symbols=1:100000;
>> p=repelem(0.00001, 100000);
>> dict=huffmandict(symbols, p);
sig=randsrc(100, 1, [symbols; p]);
comp=huffmanenco(sig, dict);
dsig=huffmandeco(comp, dict);
isequal(sig, dsig)
I wrote it to encode symbols. But it doesn't work. What should I do? The program only rewrite commands that I wrote.
댓글 수: 2
Walter Roberson
2019년 6월 9일
편집: Walter Roberson
2019년 6월 9일
Wow, that sure is slow!
I wonder if it is still doing the search mechanism that I told them a few years ago was very inefficient and which I provided them with a replacement for??
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Source Coding에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!