Skip to content

TheodoreRap/Huffman-Algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Huffman

Discrete source coding method based on Huffman code using Matlab

This repository contains the following source code files:

  1. HuffmanMain.m
  2. HuffmanDict.m - calculate Huffman codewords using an input alphabet and the corresponding odds
  3. HuffmanEnco.m - compress / encode a sequence of symbols into bits
  4. HuffmanDeco.m - decompression / decoding of a binary sequence into symbols

You can use your own "txt" and "mat" files (texts or images)