Code covered by the BSD License  

Highlights from
HUFFMANCODING

3.0

3.0 | 2 ratings Rate this file 9 Downloads (last 30 days) File Size: 2.21 KB File ID: #22442

HUFFMANCODING

by Alireza LIAGHAT

 

14 Dec 2008 (Updated 01 Jul 2010)

coding based on huffman method

| Watch this File

File Information
Description

format : [huffcodes,H,Hav,e]=huffmancoding(p,n)
%inputs: p is the probability of each alphabet symbol
( eg:p=[.3 .2 .2 .2 .06 .04] )
n is an integer that determines number of symbols at each frame
(default:n=1)

%outputs: huffcodes: huffmancodes
H: source entropy
Hav: average entropy for coding
e: codding efficiency

MATLAB release MATLAB 7.7 (R2008b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
16 Dec 2008 Alireza LIAGHAT  
16 Dec 2008 Ahmad jahed  
16 Dec 2008 us

an author should NOT rate his/her submission...
however, why does this author give him-/her-self a one-star rating?
makes me wonder whether an impostor may cause havoc on the FEX...
us

Please login to add a comment or rating.
Updates
01 Jul 2010

compatible to MATLAB v:2010a

Tag Activity for this File
Tag Applied By Date/Time
comunications Cristina McIntire 15 Dec 2008 15:45:19
huffman method Cristina McIntire 15 Dec 2008 15:45:26
communications Alireza LIAGHAT 15 Dec 2008 15:45:42
communications Omar Faruqe 06 Apr 2009 09:51:42
comunications Omar Faruqe 06 Apr 2009 09:51:45
huffman method Omar Faruqe 06 Apr 2009 09:51:48
huffmandictm Omar Faruqe 06 Apr 2009 09:51:55
huffmandict Omar Faruqe 06 Apr 2009 09:52:00
huffmandict kandiban r 04 Sep 2009 20:22:52
huffman method GTR 25 Apr 2011 15:08:39
communications GTR 25 Apr 2011 15:11:53

Contact us at files@mathworks.com