搜索资源列表
GeneticAlgorithm
- 计算函数f(x1,x2)=100*(x1^2-x2)+(1-x1)^2 的全局最大值
gap
- 给定n 个实数x1 , x2 … xn, 求这n 个数在实轴上相邻2 个数之间的最大差值。假设对任何实数的下取整函数耗时O(1),设计解最大间隙问题的线性时间算法。
pl/0
- /*PL/0编译系统C版本头文件pl0.h*/ /* typedef enum { false, true } bool; */ #define norw 13 /*关键字个数*/ #define txmax 100 /*名字表容量*/ #define nmax 14 /*number的最大位数*/ #define al 10
cifafenxi
- 词法分析程序:一. 为PL/0语言建立一个词法分程序GETSYM(函数) 把关键字、算符、界符称为语言固有的单词,标识符、常量称为用户自定义的单词。为此设置三个全程量:SYM,ID,NUM 。 SYM:存放每个单词的类别,为内部编码的表示形式。 ID:存放用户所定义的标识符的值,即标识符字符串的机内表示。 NUM:存放用户定义的数。 GETSYM要完成的任务: 1. 滤掉单词间的空格。 2. 识别关键字,用查关键字表的
ranging
- 被动测距仿真,调用相关函数求相关及最大值对应的位置,以及求两信号的相关,最大值对应的位置-Passive Ranging simulation, calls the correlation function related and corresponding to the maximum position, and to seek the correlation of the two signals, corresponding to the maximum position
S15_4
- 圆盘找数问题。设有以下20个随机数组成一个圆(首尾相接),分别求出连续的四个数之和为最大的四位数及其和值)以及连续的四个数之和为最小的四位数(输出整个数列、最大、最小的四个数及其和值。 要求: 1). 圆盘类class circle中包含私有成员int num[20], int Max[4] , int Min[4],int sum_max, int sum_min, 同时根据需要增加私有或公有成员及必要的公有成员函数。 2). 在程序中产生20个随机数.-Disc to find
Microsoft-Word-
- 2、 下面的程序中,调用了findmax()函数,该函数寻找数组中的最大元素,将该元素的下标通过参数返回,并返回其地址值,编程实现findmax()函数。-2, the following program, called findmax () function, the function to find the largest element in the array parameter returns the subscr ipt of the element, and returns its
matrix
- 定义矩阵类的构造函数及实现; 求矩阵元素最大值; 求矩阵元素最小值; 析构造函数;-Define matrix type of structure function and realization For maximum matrix element For matrix element minimum Analysis structure functions
labview-array-function-demo
- 自己写的LABVIEW 数组函数演示VI,包括数组大小,索引数组、数组子集、数组最大值与最小值!-LABVIEW array function to write their own demo VI, including the size of the array, the index array, the array subset array maximum and minimum values!
Tde
- 模拟正弦信号计算互相关时延,利用对两信号进行互相关函数的计算来找出互相关系数的最大值,从而计算出两段波形相同的信号的时延-Analog sinusoidal signal delay calculation of the cross-correlation
mydll1
- 简单的dll文件,包含求两个数的最大值最小值得功能函数,函数接口int Max(int a,int b),int Min(int a,int b)-Simple dll file that contains the maximum number of minimum requirements two worthy performance function, the function interface int Max (int a, int b), int Min (int a, int b)
Option-Explicit
- 遗传算法求函数最大值,来源于一篇博客,算法很详细,值得大家学习-Genetic Algorithm-GA
pitch
- 得到声音文件的数据和采样率,求自相关序列,基音周期分析函数,求最大值所对应的位置,即基音周期 -Receive voice data of a file and sample rate, and auto-correlation sequence, the function of pitch analysis, a position corresponding to the maximum demand, the pitch
jiyintiqu
- 程序主要是求一段音频数据的基音频率 jiyinzhouqi.m --------求基音周期 find_maxn.m --------求自相关函数的最大值 test2.wav --------程序中用到的示例wav数据文件-The program is mainly the fundamental frequency for an audio data Jiyinzhouqi.m- for pitch period Find_maxn.m- the maximum
D7.3y
- 建立一个随机时域函数并自动寻找出最大最小值及其时间点-Create a random time domain function and automatically find the minimum value and its largest point in time
C
- 求某个二元函数的最大值函数优化问题,C语言遗传算法代码-Seeking a binary function of the maximum function optimization, C language code genetic algorithm
Auto-correlation-analysis
- 正弦函数的自相关函数是与初相位无关的余弦函数。余弦函数的周期与正弦函数的周期相同。周期信号的自相关函数仍然是同频率的周期信号,但不保留原信号的相位信息,并且在τ=0时的自相关函数为自相关函数最大值。-The autocorrelation function of the sine function is the cosine function of the initial phase. The cosine function is the same as the period of the si
improved-harris
- 从经典的Harris角点检测方法不难看出,该算法的稳定性和k有关,而k是个经验值,不好把握,浮动也有可能较大。鉴于此,改进的Harris方法()直接计算出两个特征值,通过比较两个特征值直接分类,这样就不用计算Harris响应函数了。 另一方面,我们不再用非极大值抑制了,而选取容忍距离:容忍距离内只有一个特征点。该算法首先选取一个具有最大最小特征值的点(即:max(min(e1,e2)),e1,e2是harris矩阵的特征值)作为角点,然后依次按照最大最小特征值顺序寻找余下的角点,当然和前一
ave-val-of-the-max-and-min-val
- Labview利用Imaq函数寻找图像中像素灰度值最大最小的平均值-Labview uses the Imaq function to find the average value of the maximum and minimum gray value of pixels in the image
train
- 基于BP网络和多特征的语音端点检测,提取自相关函数最大值和频带方差作为BP网络输入,输出判断是否为语音信号。(A Speech Endpoint Detection Algorithm Based on BP Neural Network and Multiple Features)
