File Exchange

image thumbnail


version by Cagri UYSAL
A comparison of data compression algorithms


Updated 29 Apr 2018

GitHub view license on GitHub

Following data compression algorithms used to compress a sample text file:
Binary Huffman
Ternary Huffman
LZ coding
Run compare_algorithms.m to take results of each compression algorithm (# of bits before and after compression) and see the compression rates in a graph, or run the funtions individually if you want specific algorithm's result.

Comments and Ratings (0)


Added graph image.

MATLAB Release Compatibility
Created with R2017a
Compatible with any release
Platform Compatibility
Windows macOS Linux