-
大小: 38KB文件类型: .rar金币: 1下载: 0 次发布日期: 2021-01-01
- 语言: Matlab
- 标签:
资源简介
这个Matlab实现的程序,实现用于一维8位或16位整数数组的自适应Huffman哈夫曼编码。
代码片段和文件信息
function huffstream = adaptivehuffman(streamtype)
%
%==========================================================================
% Matt Clarkson - University of Bath
%
% Copyleft 2008
%==========================================================================
%
% huffstream = adaptivehuffman(streamtype)
%
% Adaptively encodes or decodes an integer stream. If type is not defined
% the program inspects the input stream and failing to find a suitable
% adaptively encoded huffman stream the program defaults to compression.
%
% The stream has a two bit header containing the bit depth of the symbols.
% This is easily removed if a constant bit depth is always going to be
% used.
%
% To help visualise the huffman tree a function “t
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 102 2008-07-15 21:27 loadFile.do_files\00th.png
文件 102 2008-07-15 21:27 loadFile.do_files\10th.png
文件 103 2008-07-15 21:27 loadFile.do_files\30th.png
文件 96 2008-07-15 21:27 loadFile.do_files\90th.png
文件 646 2008-07-15 21:27 loadFile.do_files\blue_band_536x5.gif
文件 57 2008-07-15 21:27 loadFile.do_files\bullet.gif
文件 6676 2008-07-15 21:27 loadFile.do_files\Captcha.htm
文件 10514 2008-07-15 21:27 loadFile.do_files\cmnty1.css
文件 70 2008-07-15 21:27 loadFile.do_files\doc.gif
文件 97 2008-07-15 21:27 loadFile.do_files\dots_rnav.gif
文件 152 2008-07-15 21:27 loadFile.do_files\dots_rnav_top.gif
文件 64 2008-07-15 21:27 loadFile.do_files\exclamation.gif
文件 117 2008-07-15 21:27 loadFile.do_files\ltblue_top_nav_trans.gif
文件 155 2008-07-15 21:27 loadFile.do_files\mail_brdr.gif
文件 2569 2008-07-15 21:27 loadFile.do_files\mlc_logo.gif
文件 64 2008-07-15 21:27 loadFile.do_files\question.gif
文件 43 2008-07-15 21:27 loadFile.do_files\s46427004350911.gif
文件 3444 2008-07-15 21:27 loadFile.do_files\site3.css
文件 43 2008-07-15 21:27 loadFile.do_files\spacer.gif
文件 66 2008-07-15 21:27 loadFile.do_files\submitfile.gif
文件 39399 2008-07-15 21:27 loadFile.do_files\s_code.js
文件 260 2008-07-15 21:27 loadFile.do_files\xm
目录 0 2008-07-15 21:27 loadFile.do_files
文件 37502 2008-07-15 21:27 loadFile.do.htm
文件 18750 2008-07-15 21:27 adaptivehuffman.m
文件 0 2010-01-15 12:44 这个Matlab实现的程序,实现用于一维8位或16位整数数组的自适应Huffman哈夫曼编码。.txt
----------- --------- ---------- ----- ----
121091 26
- 上一篇:mingw.mlpkginstall
- 下一篇:matlab XCT仿真程序
评论
共有 条评论