Lempel - Ziv Decoder

1 回表示 (過去 30 日間)
Trevor Badji
Trevor Badji 2018 年 2 月 21 日
回答済み: Abhishek Ballaney 2018 年 2 月 22 日
After running Lempel-Ziv encoder, I need to decode it back . For example, We have a sequence which is 0011 . The last digit of it ( 1 ) shows first element of codebook( codebook is just 0,1 encoder constructs rest of it ) ( it should show 0 ) The other first three digits which are 001 should show decimal representation as 1 and that 1 should show the codebooks 1st element which is again 0 . ''Ps : for instance if first three digit is 111 then it must show the 8th element of codebook .'' As a result for this example 0011 should decoded as 00 . I can not turn back to real zeros and ones . As summary I can not decode what I encoded while using lempel ziv .

回答 (1 件)

Abhishek Ballaney
Abhishek Ballaney 2018 年 2 月 22 日
https://in.mathworks.com/matlabcentral/fileexchange/15428-lzw-compression-decompression

カテゴリ

Help Center および File ExchangeSignal Processing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by