代码搜索:相差法
找到约 10,000 项符合「相差法」的源代码
代码结果 10,000
www.eeworm.com/read/153991/6294065
cpp vc0306.cpp
// Example 3-6:交换排序
#include
// 函数 bubble_up(): 冒泡法排序
void bubble_up(int list[], int count)
{
for(int i=0; ii; j=j-1)
if(list[j-1]>list[j
www.eeworm.com/read/389070/6353170
m c5_3.m
%C5_3.m
%用高斯求积法计算定积分
function C5_3
a=input('Lower limit,a?');
b=input('Upper limit,b?');
n=input('Gauss点个数:n?');
h=(b-a);
xa=[];
%h=(b-a)/(n-1);x0=a+(0:(n-1))*h;
t=[-0.8611363116,-0.339981043
www.eeworm.com/read/493388/6402117
m orderbasedxover.m
function [c1,c2]= oox(p1,p2,bounds,Ops)
% Orderbased crossover takes two parents P1,P2 and performs order
% based crossover by Davis.顺序交叉法
%
% function [c1,c2] = orderbasedXover(p1,p2,bounds,Ops)
%
www.eeworm.com/read/487407/6511150
cpp c.cpp
#include
#include
#include
typedef struct data
{
float x;
float y;
}Data;//变量x和函数值y的结构
Data d[20];//最多二十组数据
float f(int s,int t)//牛顿插值法,用以返回插商
{
if(t==s+1)
www.eeworm.com/read/484945/6569254
inl nonlinearequation.inl
//NonLinearEquation.inl 非线性方程(组)求解函数(方法)定义
// Ver 1.0.0.0
// 版权所有(C) 何渝, 2002
// 最后修改: 2002.5.31.
#ifndef _NONLINEAREQUATION_INL
#define _NONLINEAREQUATION_INL
//用二分法搜索方程f(x)=0在区间[a,b]内的全部实
www.eeworm.com/read/478046/6718705
h vf_alignmatch.h
#ifndef __VFALIGNMATCH_H__
#define __VFALIGNMATCH_H__
#include "VF_Type.h"
#include "VF_Global.h"
#include "VF_Function.h"
// 为节省时间,短距离的两点间距离采用查表法
// DisTbl[m][n] = (int)(sqrt(m*m+n*n)+0.5)
www.eeworm.com/read/477011/6744119
m gauss_solve.m
function solution = Gauss_solve(A)
%高斯列主消元法解方程组
%输入参数:增广矩阵
%输出参数:方程组的解
[n,m] = size(A);
%消元
for k = 1:(n-1)
[a_rk,r] = max(abs(A(k:n,k)));
r = r + k - 1;
if a_rk==0
d
www.eeworm.com/read/346650/11733971
asv untitled.asv
%本程序应用多窗谱法估计的语音信号功率谱密度(PSD)来进行谱减语音增强
clear;
a=1.5; %过减因子
b=0.01; %增益补偿因子
c=0; %c=0时,不对增益矩阵进行开方,c=1时,进行开方运算
n=0.04;
%读取语音文件------------------------------------------------------
www.eeworm.com/read/346650/11733990
m untitled.m
%本程序应用多窗谱法估计的语音信号功率谱密度(PSD)来进行谱减语音增强
clear;
a=2; %过减因子
b=0.01; %增益补偿因子
c=0; %c=0时,不对增益矩阵进行开方,c=1时,进行开方运算
n=0.04;
%读取语音文件--------------------------------------------------------
www.eeworm.com/read/345926/11782041
cpp vc0306.cpp
// Example 3-6:交换排序
#include
// 函数 bubble_up(): 冒泡法排序
void bubble_up(int list[], int count)
{
for(int i=0; ii; j=j-1)
if(list[j-1]>list[j