Lempel - Ziv Decoder

1 Ansicht (letzte 30 Tage)
Trevor Badji
Trevor Badji am 21 Feb. 2018
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 .

Antworten (1)

Abhishek Ballaney
Abhishek Ballaney am 22 Feb. 2018
https://in.mathworks.com/matlabcentral/fileexchange/15428-lzw-compression-decompression

Kategorien

Mehr zu Signal Processing finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by