CagriUysal/Data-Compression-Algorithms

A comparison of data compression algorithms
161 Downloads
Updated 29 Apr 2018

Following data compression algorithms used to compress a sample text file:
Binary Huffman
Ternary Huffman
Arithmetic
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.

Cite As

Cagri UYSAL (2025). CagriUysal/Data-Compression-Algorithms (https://github.com/CagriUysal/Data-Compression-Algorithms), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2017a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Denoising and Compression in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.1.0.0

Added graph image.

1.0.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.