matlab完成信源编码译码,Huffman编码和译码的MATLAB实现.doc

本文详细介绍了如何使用MATLAB实现Huffman编码和译码,包括编码原理、优势以及具体步骤,并通过实例展示了编码过程。
摘要由CSDN通过智能技术生成

Huffman编码和译码的MATLAB实现.doc

Huffman编码及译码的MATLAB实现

沈逸峰

(上海师范大学 信息与机电工程学院,上海 200333)

摘要:本论文首先介绍了Huffman编码的原理以及与其它编码相比它的优势随在,随后基于Huffman编码的原理,利用MATLAB编译出26个英文字母加空格的Huffman码表以及相应的编码和译码程序。

关键词:Huffman,MATLAB

Implement of Huffman code and decode in Matlab

Shen Yi-feng

(School of Information and Engineering.Shanghai Normal University.Shanghai.200333)

Abstract:This article has mainly introduced the theory of Huffman Code and the advantage of this code.Then, we use MATLAB to find the code table for the English alphabet and space based on Huffman Code theory. Finally, we design the code and decode program for these alphabet and space based on the same theory.

Key words:Huffman, MATLAB

1.引言

Huffman编码属于信源编码,由于信源符号之间存在分布不均匀和相关性,致使信源存在冗余度。因此信源编码的主要任务就是减少冗余,从而提高编码的效率。信源编码的关键是信息论中的两个基本定理[1]:无失真

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值