I would like to know the algorithm to compress a txt

4 views (last 30 days)
I need a program that can compress a .txt file with saved and another that can unzip the file being compressed

Answers (2)

José-Luis
José-Luis on 8 Dec 2016

Walter Roberson
Walter Roberson on 8 Dec 2016
I highly recommend the book "Text Compression" by Bell, Cleary, and Witten. It details a number of text compression algorithms and provides theoretical proofs on compression efficiency. An excellent book for understanding how text compression works and the limits of compression. After reading it you should have little difficulty coding the algorithms in MATLAB.
https://www.amazon.com/Text-Compression-Timothy-C-Bell/dp/0139119914

Categories

Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!