搜索资源列表
zui_xiao_er_cheng_fa
- 最小二乘法一般是用来拟合直线和一些线性数据的,就是用一条直线来尽可能的表达若干的点的趋势,当然直线穿过所有的点是最好的,但往往有误差存在,所以拟合出的直线要求误差最小.设这些点为(x1,y1),(x2,y2)....(xn,yn).拟合直线为y=kx+b.-Ordinary least squares method is used to fit a straight line and a number of linear data, that is, as far as possible wit
0.618
- 函数f(x)=x2+2x,用黄金分割法求解最小值-Function f (x) = x2+2 x, the minimum value method with the Golden
t-f-x2-matlab-program
- 本matlab程序对t,f,卡方三大概率分布进行绘图分析,绘制了每种分布不同参数下的曲线,可以直观的看出不同参数对不同分布的影响。-The matlab programs are the mapping analysis of three probability distribution (t, f, chi-square) .In the program, the distribution of different parameters are mapped . you can direct
yichuan
- matlab用标准遗传算法求f(x)=x2-22x+30函数的最小值,x [0,31]。 包含源码及结果-matlab using standard genetic algorithms f (x) = x2-22x+30 the minimization, x [0,31]. Includes source code and results
rectangular
- 长方体绘制函数; Height高;x1,y1,z, x2,y2,z, x3,y3,z, x4,y4,z,四个(底面的)顶点的坐标,四个点的z坐标相等。顺序为:俯视图的逆时针顺序; isTURE 是建立长方体是否成功的判定返回值,isTURE = 1则失败,isTURE = 0 则成功;-program for make a 3D rectangular filled red color,under MATLAB.
equal-area-critirea
- E=input( enter the generator voltage: ) V=input( enter the infinite bus voltage: ) Gx=input( enter the reactance of generator: ) L1x=input( enter the line reactance: ) L2x=input( enter the line reactance: ) L3x=input( enter the line re
rotate
- 如果我们用k中颜色给12条边染色,而对每种颜色使用数目没有限制(前面zzwu试着解决的问题),那么使用群论中Polya定理就可以了。只要将上面所有x1,x2,x3,x4全部用k代替,然后将结果除以24就可以了,也就是说,用k中颜色给12条边染色的方案有 (k^12+6*k^7+3*k^6+8*k^4+6*k^3)/24种 但是对于本题中的问题,不但给定了使用颜色的总数目,而且对每种颜色使用的数目也做了限制,这种情况要复杂很多,可以使用 Cauchy-Frobenius-Burn
c
- c语言求解四阶龙格库塔法的算法源代码,例子:某一地区的病菌传染,三种人员的人数的状态方程,即可能受传染的人数x1,已被传染的病的人数x2,及已治愈的人数x3,并假设他们是因接触而传染。-c language for solving fourth-order Runge-Kutta method algorithm source code, example: a certain area of the bacteria infection, the number three state equat
javaAG
- 无约束条件 max f(x1,x2)=21.5+x1*sin(4*pi*x1)+x2sin(20*pi*x2) -3.0<x1<12.1 4.1<x2<5.8 1%的变异 25%交叉 旋转转轮选择 -Unconstrained conditions max f (x1, x2) = 21.5+ X1* sin (4* pi* x1)+ X2sin (20* pi* x2)-3.0 <x1 <12.14.1 <x2 <5.81
AI_NeuralNetworks
- 程序是输入n个m维向量x1,x2...并且给定y1,y2...拟合f(xi)=yi,并且对未给定的x ,求f(x ) -Process is n-input m-dimensional vector x1, x2 ... and given y1, y2 ... fitting f (xi) = yi, and not a given x, for f (x)
kuaisufuzhi
- entity/ent(1000),obj(1000) number/mat(12) l1: ident/ select objects to transform ,ent,cnt,num,rsp jump/l1:,trm:,,rsp l2: gpos/ select reference point ,x1,y1,z1,rsp jump/l1:,trm:,,rsp l3: gpos/ select next point ,x2,y2,z2,rsp jump/
jiefc
- DOS界面。 其中,输出方程组的未知数用x1,x2,x3...表示, 可以解出多元一次方程。 -DOS interface. Among them, the output equations with unknowns x1, x2, x3 ... that can be solved一次方程pluralism.
chushengren
- java中大部分对图形、文本、图像的操作方法都定义在Graphics类中,所以此次实验使用的方法如Color(int r, int g,int b), setColor(Color c),drawline(int x1,int y1,int x2,int y2)等都来自Graphics类中,此外对文本和字体的处理还用到了Font类中的 new Font(“字体名”,字体风格,字体大小),setFont(Font f)等方法;-Most of java on the graphics, text,
PSO_C++
- 一个很好的学习粒子群算法的例子。(刘康C++版本) 程序介绍: 模拟一群鸟捕食的情景,从而达到优化目标函数的目的,这就是粒子群算法!起初在可行的空间中随机的产生一群粒子,然后让每个粒子开始在虚拟的空间中向四面八方飞翔,并且每个粒子都记下他们飞过的适应值(也就是目标优化函数)最高的点,而且整个粒子群有一个最高适应值个体,这样,粒子在飞翔的时候尽量朝向自己曾飞过的最好的点和集体的最好的点。最后达到收敛到近似最优点的目的。 备注:目标优化函数程序中已经内定了,f6 ={0.
x264_0708
- 在vc在可以编译,其中,汇编部分代码要有nasm编译器。在调试参数中输入--longhelp或者-h,会输出帮助信息。输入相应的编译选项就可以进行编码了。 -In vc can be compiled, including the compilation of some of the code have NASM compiler. In the debug parameter input- longhelp or-h, will be output to help information. E
subSetSum
- 说明:子集和问题 给定一个n个整数的集合X = {x1, x2, …, xn}和整数Y,找出和等于Y的X的子集subX。 比如说,如果X ={10,20,30,40,50,60} 和 Y = 60 则有三种不同长度的解,它们分别是 subY = {10,20,30},{20,40} 和{60} 使用回溯法实现.开发VS2005工具-Descr iption: a subset of the problem and given a set of n integers X = (
szfxsy1
- 实验一:三次样条插值(P56,例6) 一、实验目的: 1) 掌握三次样条插值的运用 2) 了解拉格朗日插值在高次上的误差 二、实验环境:Matlab6.5 三、实验内容: 1) 给定函数f(x)=1/(1+x2),-5<=x<=5,节点xk=-5+k,(k=0,1,2…10),用三次样条插值求S10(x),S10’(-5)=f’(-5),S10’(5)=f’(5)。 2)作原函数f(x),拉格朗日插值函数Ln(x),三次样条差值函数Sn(x)。画出三个函
moshishibie
- 先用C-均值聚类算法程序,并用下列数据进行聚类分析。在确认编程正确后,采用蔡云龙书的附录B中表1的Iris数据进行聚类。然后使用近邻法的快速算法找出待分样本X(设X样本的4个分量x1=x2=x3=x4=6;子集数l=3)的最近邻节点和3-近邻节点及X与它们之间的距离。-First C-means clustering algorithm procedures and with the following data for cluster analysis. After confirming t
Matlab
- 一个基于Matlab的人工免疫算法程序,对初学者很有用。-Immune Algorithm based on the immune network model for function f(x1,x2) optimum copy right SCUT Guangxing Tan
temp
- 注意:只有C代码。串行驱动led显示,一个74hc595位移寄存器驱动三极管驱动led位,两个74hc595驱动led段,方式位5位x8段x2=10个数码管5分频,每次扫描时间位1.25ms-Note: Only C code. Serial driver led display, a shift register 74hc595 drive transistor drive led, and led two drives 74hc595 paragraph, ways x8 paragraph