搜索资源列表
哈夫曼编码,最优前缀码的贪心算法
- 哈夫曼编码,最优前缀码的贪心算法,平均码长最短,Huffman codes, optimal prefix code of the greedy algorithm, the shortest average code length
C
- 有10个学生,每个学生的数据包括学号、姓名、3门课的成绩,从键盘输入10个学生数据,求出每个学生3门课的平均成绩,并输出最高分的学生的数据(包括学号、姓名、3门课的成绩、平均成绩)。 输入4个整数,按由小到大的顺序输出,使用指针进行处理。 请说明以下程序段存在的问题,并改正。 int a,*p scanf(“ d”,p) 通过计算机并口向数模转换器发送数据,实现D/A转换。 将两台计算机的COM口相连,一个作为接收端,另一个作为发送端,编程实现两台计算机之间的简单通信
stu
- 一个系统的学生管理系统,可以求学生的总成绩,平均成绩,查找学生成绩,插入删除学生的各种信息等等!文件还包含还有一些基础程序,希望给您带来一定的帮助-A system of student management system, you can request a total score of the students, the average score, find student achievement, the students inserted a variety of informatio
Huffman
- huffman编码生成器 函数说明: [W,L,q]=huffman(P) 为huffman编码函数 P为信源的概率矢量,W为编码返回的码字 L为编码返回的平均码字长度,q为编码效率 ***************************************** -huffman encoding function generator Descr iption: [W, L, q] = huffman (P) for
WeiFengYing-supporting-program
- 魏凤英的现代气候统计诊断与预测技术的fortran源代码,里边包括气候变化趋势分析的程序:线性倾向估计、滑动平均及一些趋势检验和函数;气候突变检测:滑动t检验、Cramer s法、Yamamoto法、Mann-Kendall法、Pettitt法Lepage法;气候序列周期的提取方法:功率谱、最大熵谱、交叉谱、多维最大熵、奇异谱分析、小波分析;以及EOF、主成分等等,总之熟悉这本书的同学,应该知道这本书的“强大”是做数理统计分析、及气象等必备的工具书啊,而且其程序,尤为宝贵!特此与大家分享-Wei
adsf
- 最简单的一维装箱问题又称为装箱问题(1- BP),其主要 思想是用给定的集装箱装载货物,使集装箱的使用量最小。假 设m 是装运货物的数量;n 是可用箱子数量(或最优解数量的 最大值);pi(i=1,…,m)是货物i 的重量;qj(j=1,…,n)是集装箱j 的 容量;Q 为集装箱平均容量。二元变量xij(i=1,…,m,j=1,…,n),当 货物i 装于集装箱j 时,xij=1;反之xij=0。二元变量yj(j=1,…,n),-The most simple one-dime
arma
- ARMA model is auto-regressive Moving Average model in statistical signal processing.
soble-filter
- 可以直接使用的代码,是关于图像过滤的代码,同时可以进行soble过滤和平均过滤-The code can be used directly, image filtering code can be soble filter and average filter
findminmax_number
- 在HHT变换后,可用于计算平均周期,即用整个序列的长度分别除以极大值点个数和极小值点个之后求平均-average period prediction
Short-time-zero-crossing-rate
- 基于MATLAB用于检测提取的语音信号的平均短时过零率的算法,可以方便的检测出是清音还是浊音。-Algorithm based on the MATLAB for detecting extracted speech signal average short-term zero-crossing rate, you can easily detect the voiceless or voiced.
13
- C语言中位运算操作符的源代码 215.c使二进制数特定位翻转 216.c将输入的数左移两位并输出 217.c编写循环移位函数 218.c取出给定16位二进制数的奇数位 219.c取出一个整数的后四位 220.c求一个数的补码 221.c普通的位运算 222.c整数的与0异或 -An arithmetic operator in the C language source code 215. C binary number specific bits fli
qiupingjunchengji
- 主函数将被学生成绩存入链表结构,fun函数求平均分数,并返回函数值。-The main function will be placed in student achievement list structure, find the average score by fun function, the value returned by the function.
track-initiation-logic
- 本文在研究现有大量航迹起始方法的基础上, 在机载脉冲多普勒雷达环境下, 提出了一种用于机动目标和非机动目标的并行联合概率航迹起始逻辑. 其主要思想是在工程实现背景下, 通过对两种具有不同起始性能的航 迹起始逻辑进行合并, 构成一种新的航迹起始逻辑, 兼顾机动目标和非机动目标的航迹起始. 蒙特卡罗模拟结果表明, 新方法克服了原有航迹起始方法的缺陷, 保留了原有航迹起始方法的优点, 降低了航迹起始平均时间, 改善了航迹起 始正确概率.-Based on the study of vari
sorce
- 计算10个学生5门平均成绩,最高分,最高分对应课程和学生-Calculation of 10 students five grade point average, the highest score, the highest score corresponding to the curriculum and student
cx3
- 创建一个数组,其中放置12,、-34、20、156、23.1、67、2.98、23.78、13.2和98共10个数,求其中的最大数、最小数和平均数。-Create an array, which placed 12,,- 34, 20, 156, 67, 2.98, 23.78, 23.1, 13.2 and 98 a total of 10 number, the maximum number, minimum number and average.
Baseline-Filters-ECG
- This Matlab program filters the baseline drift in ECG signals using different techniques: - median filtering - moving average filtering - first order Kalman Smoother Filter - first order zero-phase Lowpass filter - Bandpass filter using
read_file_average_number
- 这个程序从一个文件读取double类型数字,然后将这些数字的平均值发送到屏幕,文件中只包含double类型的数字。结果也可写入文件。-This program is used to calculate the average number of a list of double numbers in a input file, and show the average number to the screen, or save the result in a output file.
POJ2500
- 圆内四边形最大面积 //描述:圆上平均分配的n个点,选择其中m个,在这m个里取出4个,保证4个点组成的面积最大,并输出面积值。 //超时思路:先对m个数排序,再删除相同元素,对所有两两组合的点分别找出最大面积的点,再计算面积 //修改方案:因为对称性,保证0点必取,因此只需与0进行组合照最大面积。 -Circle quadrilateral area Descr iption:// N point on circle average distribution, choose
1
- 取得队列不同类型的统计信息。下列描述中提及的时间是基于何时队列元素被加入到队列中(到达时间)以及队列元素从加入队列到被删除出去的时间差(等待时间)。时间单位为仿真的时间精度。其中q_stat_value (输出)参数返回取得的消息,而其中q_stat_code (输入) 参数可以取 1—6,分别表示要求取得的信息类型: 1. 当前队列长度。 2. 平均达到时间间隔。 3. 最大队列长度。 4. 最短等待时间 5. 当前队列中队列元素的最长等待时间。
average
- 经典谱估计方法,都 是调试好的,都 可以用的,欢迎大家下载。-Classical spectrum estimation method, are good debugging, you can use, welcome to download.
