Skip to content

ankmish/Encoding-in-MATLAB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Encoding in MATLAB

Huffman,Shannon fano,Adaptive Huffman Encoding in MATLAB

Huffman Encoding

  • File named "Huffman.m" is main script for Huffman Encoding.It call a function "binaryHuffman.m" which is responsible for encoding.

Shanon Fano Encoding

  • Fie named "sanen.m" is main script which call function "ShannonFano.m" which will do encoding.

Adaptive Huffman Encoding

  • File named "Adhuff.m" is main script which call function "AdaptiveHuffman.m" for encoding.
  • "HNode.m" defines tree properties and create nodes in tree dynamically.Here Dynamically means the way your input stream arrives.For more details,read how Adaptive Huffman Encoding works.
  • "HNode.m" should be created as "Class" not as a "Script" in MATLAB.

Once read the algorithms before writing the code.

About

Huffman,Shannon fano,Adaptive Huffman Encoding in MATLAB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published