Text based Data Compression-Huffman,Adaptive Huffman,LZW,Arithmetic,RLE
This section of MATLAB source code covers text based data compression algorithms which include huffman,adaptive huffman,LZW,Arithmetic and RLE MATLAB code.
For basics of lossless versus lossy data compression and their types,READ MORE.
Huffman coding matlab code
Output sequence from huffman encoder:
Output sequence from huffman decoder:
Run Length Encoding(RLE) matlab code
Output from RLE encoder=
output from RLE decoder=
DICTIONARY based data compression(LZW algorithm) matlab code
Ascii value of following is the output from the table (output of LZW encoder), If the entry is new one ascii value is assigned and the same is entered in the table as new entry.
Arithmetic coding matlab code
Output from Arithmetic encoder:
Output from Arithmetic decoder:
Download source codes from following link
Useful Links to MATLAB codes
Refer following as well as links mentioned on left side panel for useful MATLAB codes.
OFDM Preamble generation Time off estimation corr Freq off estimation corr channel estimation 11a WLAN channel PN sequence generation OFDMA Tx Rx AES DES carrier aggregation CCDF FIR Filter IIR Filter Low Pass FIR Viterbi decoder CRC8 CRC32