登录
首页 » 算法 » 用matlab写的huffman编码程序

用matlab写的huffman编码程序

于 2022-01-21 发布 文件大小:1.07 kB
0 175
下载积分: 2 下载次数: 1

代码说明:

1)输入下面几种符号,并调用概率计算函数prob计算其出现的概率,初始为四棵不同的小二叉树;    a(10)   b(20)   c(30)   d(40)2)在1中得到的树里找到概率值最小的两棵树,将他们分别作为左、右子树连成一棵大一点的二叉树,该二叉树的概率值为两棵树概率值之和。2的做法,直到所有的符号都连入树中。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 活动段检测
    资源描述对于肌电信号的一个活动段检测算法,可以准确地判断出信号的起始点和终止点
    2022-03-06 08:22:07下载
    积分:1
  • 将2个矩阵相乘,输出结果为文本文件
    应用背景此代码是与乘法2个矩阵,导出一个文本作为结果。关键技术矩阵生产属于一般领域:1:单个数的标量乘以一个矩阵的每一个条目。2:通过另一个整个矩阵的另一个整个矩阵的乘法,矩阵乘法将是指这个二类。
    2023-04-08 09:10:04下载
    积分:1
  • 这是我收集的一个老外编的最小二乘拟合椭圆。希望能派上用场。...
    这是我收集的一个老外编的最小二乘法拟合椭圆算法。希望能派上用场。-This is my collection of a foreigner series of the least squares fit algorithm for elliptic. Hope can be put to use.
    2022-04-18 01:32:13下载
    积分:1
  • 快速傅里叶变换的C实现,采用新的倒序,程序代码只有一百多行,就要以实现千个采样点的计...
    快速傅里叶变换的C实现,采用新的倒序算法,程序代码只有一百多行,就要以实现千个采样点的计算-Fast Fourier Transform of C realized, the introduction of a new reverse algorithm, program code, only more than 100 lines, it is necessary to achieve the 1000 sampling points calculation
    2022-03-23 21:12:52下载
    积分:1
  • FLCS在3DIC設計中會使用的方
    在3DIC設計中會使用的方法  Floorplanning is an important and dispensable stage in the traditional integrated circuit design process. With the raised module numbers and increased wire length, the computation complexity is raised dramatically. Obviously, the traditional algorithms need to be updated. We developed an orthogonal table, in which each factor represents a module and the level of a specified factor denotes the orientation of that module. With this orthogonal table, the solution space is significantly decreased.  We use sequence pair to represent a floorplan and the fast longest common subsequence is used accordingly to calculate the area of
    2022-08-13 12:52:54下载
    积分:1
  • 基于Java的BP网络数字识别.rar
    基于Java的BP网络数字识别法.rar-Java-based BP Network Digital Identification Act. Rar
    2022-01-26 03:15:33下载
    积分:1
  • eight Queen's achievement
    八皇后c++实现-eight Queen"s achievement
    2022-04-16 20:57:15下载
    积分:1
  • simplex method, used mainly for planning
    单纯型法,主要用于规划-simplex method, used mainly for planning
    2023-03-02 20:55:03下载
    积分:1
  • 图像块分类
    资源描述使用matlab实现一幅图像中图像块的分类,主要分为光滑图像块和非光滑图像块使用matlab实现一幅图像中图像块的分类,主要分为光滑图像块和非光滑图像块
    2022-03-18 05:51:26下载
    积分:1
  • red black tree c语言
    红黑树是一种自平衡二叉查找树,是在计算机科学中用到的一种数据结构,典型的用途是实现关联数组。它是在1972年由Rudolf Bayer发明的,他称之为"对称二叉B树",它现代的名字是在 Leo J. Guibas 和 Robert Sedgewick 于1978年写的一篇论文中获得的。它是复杂的,但它的操作有着良好的最坏情况运行时间,并且在实践中是高效的: 它可以在O(log n)时间内做查找,插入和删除,这里的n 是树中元素的数目。
    2023-05-09 07:05:03下载
    积分:1
  • 696516资源总数
  • 106627会员总数
  • 16今日下载