- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
基于MATLAB的霍夫曼编码仿真
目录
0 前言 2
1 信源编码的基本概念 2
1.1 通信系统的模块仿真 2
1.2 信息的度量与编码 3
1.3 无失真编码算法 4
2 信源最佳化
3 霍夫曼编码特点及应用 6
4 编码规则
4.1 二元霍夫曼编码规则
4.2 多元霍夫曼编码规则
4.3 扩展信源霍夫曼编码
5 MATLAB性能仿真
5.1 二元霍夫曼编码仿真
5.2 三元霍夫曼编码仿真 1
5.3 扩展信源编码仿真 3
6 结论 1
参考文献 16
基于MATLAB的霍夫曼编码仿真
李长江
(河南大学物民生学院,河南 开封,475004)
摘 要:
通信的数字化是它能与计算机技术和数字信号处理技术相结合的基础,而实现通信数字化的前提是信源能提供的各种用于传递的消息,例如语音、图像、数据、文字等都必须以数字化形式表示。而信源编码是数字通信系统中的重要组成部分,他是保证信号有效传输的一种重要方式。霍夫曼编码依据字符出现的概率来构造异字头的平均长度最短的码字,有时称之为最佳编码,其优越的性能被广泛使用在数字通信系统中。霍夫曼编码已经成为数据压缩的灵魂算法。本文介绍了无失真编码算法的构造,霍夫曼编码的规则和特点,同时分析了对信源进行优化的方法,最后通过MATLAB仿真来讨论比较二元霍夫曼编码、三元霍夫曼编码以及信源扩展编码的效率,来实现霍夫曼码的优化构造。
关键词:
Matlab,霍夫曼编码,仿真,二元霍夫曼编码,三元霍夫曼编码,扩展信源编码
Huffman Codes And Matlab Simulation
Li changjiang
(School of min sheng, Henan University, Henan Kaifeng 475004, China)
Abstract:
Digital communication is the basis which can combine computer technology and digital signal processing technology.But the premise for digital communication is that the source can provide a variety of message for transmission.For example voice,images,data,text.And the messages can be expressed in digital form.Source coding is the important part in the digital communication system.It is also a way to ensure the effectiveness of the transmission in this system.Huffman coding based on the probability to construct a character different prefix length of the shortest average code word .Sometimes it is called the optimal coding. Huffman code is widely used in the digital communication system by the ascendant performance .Huffman coding has become data compression soul algorithm.This article describes the construction of lossless coding algorithm .It also introduces the rules and the characteristics of Huffman coding.It also analyzes the method of source optimization.Finally,we discuss the comparison of binary Huffman coding,ternary Huffman coding and extended source coding based on MATLAB.We are thus to achieve optimal Huffman code constructed.
Key words:
MATLAB; huffman code; binary Huffman coding; ter
文档评论(0)