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

用matlab写的huffman编码程序

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

代码说明:

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

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

发表评论

0 个回复

  • 实对称 三对角阵的全部特征值及相应的特征向量的计
    实对称 三对角阵的全部特征值及相应的特征向量的计算-Symmetric diagonal matrix of all eigenvalues and eigenvectors corresponding calculation
    2023-08-28 17:55:03下载
    积分:1
  • LEACH 协议
    这是 LEACH程序仅供您参考 谢谢
    2023-04-17 18:15:02下载
    积分:1
  • 装配生产线调度m行和N站
    装配生产线调度m行和N站
    2023-08-12 18:30:02下载
    积分:1
  • 源包括一个递归模板版本和一个非
    The source includes a recursive template version and a non-recursive template version
    2022-03-18 21:30:09下载
    积分:1
  • 路由器选路DV
    能够选择用编程语言,模拟DV算法,找到某点到其他各点的最短路径软件:PC机软件:操作系统windows 7, 开发平台EclipseDV算法的实质就是针对某一个特定的节点,从它的邻居到网络中的可达的所有点。该点需要将它到其他邻居的耗散值广播给它的邻居,它也接受来自邻居的cost值信息,同时通过邻居给它的广播,更新自己到别的点的最短路径。几次过后,算法就会稳定下来。其中带有源码和实验报告。
    2022-08-14 01:53:30下载
    积分:1
  • 中的高斯列主元 是计中很重要的一种...
    计算方法中的高斯列主元算法 是计算方法中很重要的一种算法 -Method of calculation set out the main element in the Gaussian algorithm is a very important method of calculating an algorithm
    2022-01-21 23:42:41下载
    积分:1
  • OFELI is an object oriented library of C++ classes for development of finite ele...
    OFELI is an object oriented library of C++ classes for development of finite element codes. Its main features are : * Various storage schemes of matrices (dense, sparse, skyline). * Direct methods of solution of linear systems of equations as well as various combinations of iterative solvers and preconditioners. * Shape functions of most "popular" finite elements * Element arrays of most popular problems (Heat Transfer, Fluid Flow, Solid Mechanics, Electromagnetics, ...).-OFELI is an object oriented library of C++ classes for development of finite element codes. Its main features are :* Various storage schemes of matrices (dense, sparse, skyline).* Direct methods of solution of linear systems of equations as well as various combinations of iterative solvers and preconditioners.* Shape functions of most "popular" finite elements* Element arrays of most popular problems (Heat Transfer, Fluid Flow, Solid Mechanics, Electromagnetics, ...).
    2022-02-27 06:26:31下载
    积分:1
  • 牛顿差商求数值拟合。包文件中包含一个例子结果文件,包括输入和输出的结果。...
    牛顿差商法求数值拟合。包文件中包含一个例子结果文件,包括输入和输出的结果。-poor numerical fitting. Packet document contains an example of the outcome document, including input and output results.
    2023-03-26 15:35:03下载
    积分:1
  • 此程序为数值分析里的跳马演示程序
    此程序为数值算法分析里的跳马算法演示程序-procedure for numerical algorithm analysis of the algorithm vault Demonstration Program
    2022-01-30 12:28:59下载
    积分:1
  • 数据挖掘Apriori
    资源描述从文件中读取每一行字符串存入向量中 统计一项备选集支持度 生成一项频繁集 生成二项频繁项备选集 生成高项频繁项备选集 统计备选集支持度 生成高项频繁集 生成所有项频繁集 输出一项频繁集到文件中 输出高项频繁集到文件中
    2022-02-21 08:53:55下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载