代码搜索结果
找到约 10,000 项符合
Algorithm 的代码
perceptron algorithm.m
clear all;
close all;
x1(1,1)=5.1418; x1(1,2)=0.5950;
x1(2,1)=5.5519; x1(2,2)=3.5091;
x1(3,1)=5.3836; x1(3,2)=2.8033;
x1(4,1)=3.2419; x1(4,2)=3.7278;
x1(5,1)=4.4427; x1(5,2)=3.8981;
x1(6,1)=4
k_algorithm.c
#include
#include
#include
#include
int vectornum;
int vectorsize;
float * datafield;
float * tempcenter;
struct GROUP
{
bt algorithm.m
%序列的间接法功率谱估计
%to test BT.m;
clear all;
Fs=1000;
%产生含有噪声的序列
var=sqrt(1/exp(1.0));
n=0:1/Fs:1;
N=length(n);
e=var*randn(1,N);
w0=100*pi;
w1=50*pi;
xn=exp(j*w0*n-j*pi)+exp(j*w1*n-j*0.7*pi)+e
genetic_algorithm.m
function gaTSP
CityNum=30;
[dislist,Clist]=tsp(CityNum);
inn=100; %初始种群大小
gnmax=1000; %最大代数
pc=0.8; %交叉概率
pm=0.8; %变异概率
%产生初始种群
for i=1:inn
s(i,:)=randperm(CityNum);
end
[f,p]=ob
genetic_algorithm.m
function gaTSP
CityNum=30;
[dislist,Clist]=tsp(CityNum);
inn=100; %初始种群大小
gnmax=1000; %最大代数
pc=0.8; %交叉概率
pm=0.8; %变异概率
%产生初始种群
for i=1:inn
s(i,:)=randperm(CityNum);
end
[f,p]=ob
k_algorithm.c
#include
#include
#include
#include
int vectornum;
int vectorsize;
float * datafield;
float * tempcenter;
struct GROUP
{
omptl_algorithm.h
// Copyright (C) 2006 Fokko Beekhof
// Email contact: Fokko.Beekhof@cui.unige.ch
// The OMPTL library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser G
llk_algorithm.h
/***************************************************************************
* llk_algorithm.h
*
* Fri Sep 23 08:46:05 2005
* Copyright 2005 Alpher
* Email: alpher_zmx@yahoo.com.c
llk_algorithm.c
/***************************************************************************
* llk_algorithm.c
*
* Fri Sep 23 08:46:05 2005
* Copyright 2005 Alpher
* Email: alpher_zmx@yahoo.com.c