-
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
-
SPH_6_add-surface-tension
使用sph方法求解NS方程,在此程序中考虑了表面张力的影响(this code solves N-S equation which uses SPH method,further more it consist of the surface tension part。)
- 2013-04-06 10:47:21下载
- 积分:1
-
50Hz陷波器设计(matlab),去除工频干扰
50Hz陷波器设计(matlab),去除工频干扰-filter
- 2023-05-12 16:45:02下载
- 积分:1
-
上传一个关于DDS开发的源程序,想做DDS的可以先看看这个,很好的。...
上传一个关于DDS开发的源程序,想做DDS的可以先看看这个,很好的。
- 2022-01-22 08:36:48下载
- 积分:1
-
natural incentive structures under the modal parameter identification, First thr...
自然激励下建筑结构的模态参数识别,首先通过自然激励技术(next)得到结构的自由响应,然后由自回归滑动平均(arma)方法识别模态参数。-natural incentive structures under the modal parameter identification, First through natural incentive Technology (next) to be free to respond to the structure, then autoregressive moving average (arma) identified modal parameters.
- 2022-08-17 09:46:34下载
- 积分:1
-
RCUP
Remote Control Tool executable and related files.
- 2020-06-20 08:00:01下载
- 积分:1
-
源代码编译成一个电脑版本的乒乓球。
The source code compiles into a PC version of Pong.
- 2022-02-04 07:00:37下载
- 积分:1
-
plotmode
说明: 转子动力学进行横向振动绘图分析的程序语句(Rotor dynamics for lateral vibration mapping analysis of the program statement)
- 2019-05-07 19:33:44下载
- 积分:1
-
Desktop
说明: 求取nurbs样条曲线的基函数,只需更改节点和节点矢量,各个阶次都可以快速求取(Finding the basis function)
- 2021-03-08 17:49:28下载
- 积分:1
-
MU_Hybrid_Part1
Limited Feedback Hybrid Precoding for Multi-User Millimeter Wave Systems, 一文中的仿真(The code of Limited Feedback Hybrid Precoding for Multi-User Millimeter Wave Systems)
- 2021-04-14 14:08:55下载
- 积分:1