Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 466 Bytes

File metadata and controls

12 lines (8 loc) · 466 Bytes

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)