-
hulf
说明: 设计一个哈夫曼编码器
要求对一段数据序列进行哈夫曼编码,使得平均码长最短,输出各元素编码和编码后的数据序列。
① 组成序列的元素是[0-9]这10个数字,每个数字其对应的4位二进制数表示。比如5对应0101,9对应1001。
② 输入数据序列的长度为256。
③ 先输出每个元素的编码,然后输出数据序列对应的哈夫曼编码序列。(Designing a Huffman Encoder
Huffman coding is required for a data sequence to minimize the average code length and output the coded and coded data sequence of each element.
(1) The elements that make up the sequence are the 10 digits [0-9], and each digit is represented by its corresponding 4-bit binary number. For example, 5 corresponds to 0101, 9 corresponds to 1001.
(2) The length of the input data sequence is 256.
(3) First output the encoding of each element, and then output the Huffman encoding sequence corresponding to the data sequence.)
- 2019-06-19 21:49:58下载
- 积分:1
-
individuals
[趣谈:200个人们普遍忽略的问题].(英)约翰·劳埃德,(英)约翰·米奇森.编著.王张华.等译.影印版,十分有意思的书,值得一读([Something about: 200 individuals were generally ignored the issue]. (British) John Lloyd, (English) . ed. Wangzhang Hua. such as translation. photocopies version, very interesting book, worth reading)
- 2011-05-20 13:46:31下载
- 积分:1
-
python环境的小测试,包含一个制图模块pythonTestCode
对python环境的小测试,包含一个制图模块(A small test of Python environment, including a mapping module)
- 2020-06-23 06:00:02下载
- 积分:1
-
一款不错的开放源代软电话,大家可以研究以下
一款不错的开放源代软电话,大家可以研究以下-A good open-generation soft phone, we can study the following
- 2022-06-14 21:34:14下载
- 积分:1
-
vbkingviewpid
基于VB和组态王的水箱液位单神经元自适应PID控制(Based on VB and water tank of single neuron adaptive PID control
)
- 2012-02-28 10:54:24下载
- 积分:1
-
halcontest
c++和halcon混合编程,编有MFC界面,单击界面按钮可获得相关齿轮参数。(C++ and Halcon mixed programming, compiled with MFC interface, click the interface button, you can get the relevant gear parameters.)
- 2020-09-12 08:18:01下载
- 积分:1
-
digital processing of SAR data
说明: 合成孔径雷达成像算法与实现(附光盘数据和仿真代码)(SAR imaging algorithm and implementation (with CD data and simulation code))
- 2019-03-11 17:16:59下载
- 积分:1
-
ft60f02x例程
说明: 嵌入式开发,辉芒微例程。芯片使用例程芯片使用例程(Embedded development, huimangwei routine)
- 2020-03-09 10:06:15下载
- 积分:1
-
CWavelet
说明: 小波变换完整代码,包括主函数和子函数,可执行。(Wavelet transform complete code, including the main function and sub function, executable.)
- 2020-09-21 16:11:59下载
- 积分:1
-
协作通信的蒙特卡洛仿真方法
说明: MATLAB协作通信的蒙特卡洛仿真代码。
MATLAB协作通信的蒙特卡洛仿真代码。(Monte Carlo simulation code of MATLAB cooperative communication.)
- 2020-05-07 00:46:37下载
- 积分:1