Lempel - Ziv Decoder

10 vues (au cours des 30 derniers jours)
Trevor Badji
Trevor Badji le 21 Fév 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 .

Réponses (1)

Abhishek Ballaney
Abhishek Ballaney le 22 Fév 2018
https://in.mathworks.com/matlabcentral/fileexchange/15428-lzw-compression-decompression

Catégories

En savoir plus sur Signal Processing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by