搜索资源列表
SearchMedian.rar
- 寻找无序数组的中位数,实际上代码实现了寻找无序数组中任意第x大的数,使用了快排的思想。VC++ 2005环境,Find disordered array median, in fact, code has to find a disorderly array of arbitrary section x large, use the quick thinking of row. VC++ 2005 Environment
swqm.rar
- 三维曲线曲面比较演示系统程序设计 设计一个图形用户界面(GUI)演示常见的三维函数图形,至少包含“三维绘图” 、“选项” 、“退出”等菜单,三维绘图的包括:参数方程x=e-t/20cos(t), y= e-t/20sin(t),z=t其中t 为0到2π、参数方程x=t,y=t2,z=t3其中t为0到1之间(在同一图形界面中分别绘制它们的三维曲面和三维曲线图)。“选项”菜单主要包括:网格开关,图例开关,坐标边框开关,色度空间选择菜单,曲线颜色菜单。,Comparison of three-dim
msc.rar
- 多元散射校正算法,用于近红外散射数据处理,增强信噪比,function [Xcorrect]=msc(X,Xref) msc pretreate the samples X with the Multiplicative Scatter Correct Input X:the matrix of the sample spectra to be Correct Xref:the matrix of the sample spectra
matlab.rar
- matlab标准遗传算法 优化函数为f=-(x-1)^2+4,其中,0<=x<=3,matlab
DGPSO.rar
- 用于求解约束优化问题的算法,算法为差分进化/遗传算法/微粒群算法的融合。对于“[7] T. P. Runarsson and X. Yao, Stochastic ranking for constrained evolutionary optimization, IEEE Trans. Evol. Comput., vol. 4, no. 3, pp. 284-294, Sep. 2000”中给出的13个标准测试函数,均能得到问题最优解。如有任何疑问,请于http://2shi.phphube
polyfit2d.rar
- 根据已知的三维离散数据(x,y,z),在MATLAB中利用此函数进行三维曲面拟合,再根据polyval2d得出拟合函数的系数矩阵。,according to 3D discrete datum (x,y,z),use this function in MATLAB to fit 3D surface, and use polyval2d to get coefficient matrix
fmincon.rar
- 求解非线性方程。调用格式x=fmincon(fun,x0,A,b,Aeq,beq,VLB,VUB),For solving nonlinear equations. Call the format x = fmincon (fun, x0, A, b, Aeq, beq, VLB, VUB)
shuxuejianmo_8.rar
- (拟合) 用给定的多项式,y=x3-6x2+5x-3,产生一组数据(xi,yi,i=1,2,…,n),再在yi上添加随机干扰(可用rand产生(0,1)均匀分布随机数,或用rands产生N(0,1)分布随机数),然后用xi和添加了随机干扰的yi作的3次多项式拟合,与原系数比较。 如果作2或4次多项式拟合,结果如何? ,(Fitting) with a given polynomial, y = x3-6x2+5 x-3, generated a set of data (xi, yi, i
fr.rar
- FR共轭梯度算法求极小值。y为给定函数,x为函数变量,x0为搜索起始点 返回值fm为极小值,xm为极小值点,FR conjugate gradient algorithm for the minimum. y for a given function, x as a function of variables, x0 the starting point for the search to return to the value of fm for the minimum, xm for th
shuxuejianmo_3.rar
- 某厂向用户提供发动机,合同规定,第一、二、三季度末分别交货40台、60台、80台.每季度的生产费用为 (元),其中x是该季生产的台数.若交货后有剩余,可用于下季度交货,但需支付存储费,每台每季度c元.已知工厂每季度最大生产能力为100台,第一季度开始时无存货,设a=50、b=0.2、c=4,问工厂应如何安排生产计划,才能既满足合同又使总费用最低.讨论a、b、c变化对计划的影响,并作出合理的解释,To provide users with a factory
shuxuejianmo_5.rar
- (回归分析) 考察温度x对产量y的影响,测得下列10组数据: 求y关于x的线性回归方程,检验回归效果是否显著,并预测x=42℃时产量的估值及预测区间(置信度95 ) ,(Regression analysis) x on the output of the temperature study of the impact of y, measured the following 10 sets of data: for y on x of the linear regression
ANACOR
- 对应分析correspondence analysis(ANACOR) [G,F,A]=ANACOR(X),X为原始数据 p X n维 即有n个样本,每个样本由p个变量来描述。返回F为R型因子分析后的结果,Q为最后的结果,A=ZZ 。-Correspondence analysis correspondence analysis (ANACOR) [G, F, A] = ANACOR (X), X for the original data p X n that is n-dimension
leastsquareellipse
- 至少输入五个点,得到最小二乘模拟椭圆,最后得到椭圆左右焦点以及主轴与x轴夹角等具体参数-[Xc,Yc,A,B,Phi,P]=ELLIPSEFIT(X,Y) finds the least squares ellipse that best fits the data in X and Y. X and Y must have at least 5 data points. Xc and Yc are the x- and y-axis center of the ellipse re
li9_23
- clear all I=imread( lena.bmp ) figure imshow(I) I2=imrotate(I,-4, bilinear ) 逆时针旋转4度 figure imshow(I2) I3=fliplr(I) 垂直镜像 figure imshow(I3) I4=imresize(I,0.5, bilinear ) 缩小为原图的1/2 figure imshow(I4) A=double(I) 转换为double类型
matlab.rar
- 计算函数最大值,maxf(x)=xsin(10pix)+2(Maximum of computational function)