% [BestPop,Trace]=fmaxga(FUN,LB,UB,eranum,popsize,pcross,pmutation) % Finds a maximum of a function of several variables. % fmaxga solves problems of the form: % max F(X) subject to: LB <= X <= UB % BestPop--------最优的群体即为最优的染色体群 % Trace----------最佳染色体所对应的目标函数值 % FUN------------目标函数 % LB-------------自变量下限 % UB-------------自变量上限 % eranum---------种群的代数,取100--1000(默认1000) % popsize--------每一代种群的规模;此可取50--100(默认50) % pcross---------交叉的概率,此概率一般取0.5--0.85之间较好(默认0.8) % pmutation------变异的概率,该概率一般取0.05-0.2左右较好(默认0.1) % options--------1×2矩阵,options(1)=0二进制编码(默认0),option(1)~=0十进制编码,option(2)设定求解精度(默认1e-4)
资源简介:% [BestPop,Trace]=fmaxga(FUN,LB,UB,eranum,popsize,pcross,pmutation) % Finds a maximum of a function of several variables. % fmaxga solves problems of the form: % max F(X) subject to: LB <= X <= UB % BestPop--------最优的群体即为...
上传时间: 2015-07-16
上传用户:Altman
资源简介:%CHECKBOUNDS Move the initial point within the (valid) bounds. % [X,LB,UB,X,FLAG] = CHECKBOUNDS(X0,LB,UB,nvars) % checks that the upper and lower % bounds are valid (LB <= UB) and the same length as X (pad with -inf/inf % if neces...
上传时间: 2015-10-26
上传用户:caiiicc
资源简介:BNB20 Finds the constrained minimum of a function of several possibly integer variables. % Usage: [errmsg,Z,X,t,c,fail] = % BNB20(fun,x0,xstatus,xlb,xub,A,B,Aeq,Beq,nonlcon,settings,options,P1,P2,...) % % BNB solves problems of th...
上传时间: 2014-01-13
上传用户:youth25
资源简介:%利用乘同余法写的白噪声程序 %对于辨识有一定帮助 %相关方法可以参照乘同余法原理
上传时间: 2015-05-18
上传用户:变形金刚
资源简介:%直接型到并联型的转换 % %[C,B,A]=dir2par(b,a) %C为当b的长度大于a时的多项式部分 %B为包含各bk的K乘2维实系数矩阵 %A为包含各ak的K乘3维实系数矩阵 %b为直接型分子多项式系数 %a为直接型分母多项式系数 %
上传时间: 2014-01-20
上传用户:lizhen9880
资源简介:直接型到级联型的形式转换 % [b0,B,A]=dir2cas(b,a) %b 为直接型的分子多项式系数 %a 为直接型的分母多项式系数 %b0为增益系数 %B 为包含各bk的K乘3维实系数矩阵 %A 为包含各ak的K乘3维实系数矩阵 %
上传时间: 2013-12-30
上传用户:agent
资源简介:%The phase locked loop(PLL),adjusts the phase of a local oscillator %w.r.t the incoming modulated signal.In this way,the phase of the %incoming signal is locked and the signal is demodulated.This scheme %is used in PM and FM as wel...
上传时间: 2015-09-28
上传用户:zhangzhenyu
资源简介:%WAVETEST Example Matlab script for WAVELET, using NINO3 SST dataset % % See "http://paos.colorado.edu/research/wavelets/" % Written January 1998 by C. Torrence % % Modified Oct 1999, changed Global Wavelet Spectrum (GWS) to be s...
上传时间: 2014-01-06
上传用户:hullow
资源简介:% because we do not truncate and shift the convolved input % sequence, the delay of the desired output sequence wrt % the convolved input sequence need only be the delay % introduced by the ideal weight vector centred at n=5
上传时间: 2015-12-27
上传用户:www240697738
资源简介:Returns weighted percentiles of a sample given the weight vector w % The idea is to give more emphasis in some examples of data as compared to % others by giving more weight. For example, we could give lower weights to % the outliers....
上传时间: 2016-01-28
上传用户:小儒尼尼奥
资源简介:This template file is used to completely describe a system in a generalized % state space format useable by the ReBEL inference and estimation system. % This file must be copied, renamed and adapted to your specific problem. The % int...
上传时间: 2014-01-10
上传用户:hustfanenze
资源简介:Writing this book was hard work, but also a lot of fun. Thanks to everyone who made it possible, especially Jinny Verdonck, Thomas Kraft, Ricky Nkrumah, Kirk Bateman, and the whole Apress crew. A big thanks goes also to the community that...
上传时间: 2016-04-15
上传用户:Yukiseop
资源简介:%例15-1 NaN数据参与分析 a = magic(3) a(2,2) = NaN %用NaN表示遗失数据 sum(a) %对数据集进行求和
上传时间: 2016-07-12
上传用户:as275944189
资源简介:%For the following 2-class problem determine the decision boundaries %obtained by LMS and perceptron learning laws.
上传时间: 2016-11-26
上传用户:guanliya
资源简介:Batch version of the back-propagation algorithm. % Given a set of corresponding input-output pairs and an initial network % [W1,W2,critvec,iter]=batbp(NetDef,W1,W2,PHI,Y,trparms) trains the % network with backpropagation. % % The ...
上传时间: 2016-12-27
上传用户:exxxds
资源简介:Produces a matrix of derivatives of network output w.r.t. % each network weight for use in the functions NNPRUNE and NNFPE.
上传时间: 2013-12-18
上传用户:sunjet
资源简介:% am.m % Matlab demonstration script for DSB-AM modulation. The message signal % is +1 for 0 < t < t0/3, -2 for t0/3 < t < 2t0/3 and zero otherwise.
上传时间: 2016-12-28
上传用户:dongqiangqiang
资源简介:matlab实现计算机模拟排队论 %排队模型的计算机模拟 %排队论是一门研究随即服务系统工作过程的理论和方法 %m表示一个工作日内完成的服务顾客数 %t表示顾客的平均等待时间
上传时间: 2017-01-29
上传用户:mhp0114
资源简介:matlab解线性方程组的源代码 function x=nagauss2(a,b,flag) % 用途:选列主元Gauss消去法解线性方程组ax=b % 格式:x=nagauss2(a,b,flag) a为系数矩阵,b为右端列向量,flag若为0,则显示中间过程
上传时间: 2013-12-22
上传用户:exxxds
资源简介:IIR Filter Coefficient Quantization Example % written by DRB on 6-Dec-2004 for ECE3703 % % Looks at unquantized filter (ideal), direct form, and cascaded second % order section (SOS).
上传时间: 2015-07-23
上传用户:zyt
资源简介:% This program calculates radar ranges in a jamming environment. It works % with both Stand-off jamming and self-screening jamming for steady and Swerling type % targets with frequency agility, coherent integration and standard atmosph...
上传时间: 2013-12-24
上传用户:sammi
资源简介:function y_cum = cum2x (x,y, maxlag, nsamp, overlap, flag) %CUM2X Cross-covariance % y_cum = cum2x (x,y,maxlag, samp_seg, overlap, flag) % x,y - data vectors/matrices with identical dimensions % if x,y are matrices, rather than ve...
上传时间: 2015-09-08
上传用户:xieguodong1234
资源简介:基于"trace transform"的识别2D图像的C++源程序, 主文件是tt.cpp, 在LINUX下可以用 g++ tt.cpp -o tt -O3进行编绎, 而且最后的结果也可以在MATLAB下显示出来, This package presents C++ tools to the trace transform of a 2D im...
上传时间: 2013-12-23
上传用户:redmoons
资源简介:% 文件名:randlsbget.m % 程序员:余波 % 编写时间:2007.6.25 % 函数功能: 本函数将完成提取隐秘于上的秘密信息 % 输入格式举例:result=( scover.jpg ,56, secret.txt ,2001) % 参数说明: % output是信息隐藏后的图象 % len_total是秘密信息的...
上传时间: 2015-11-10
上传用户:yzhl1988
资源简介:% A 2D homogeneous convection-diffusion case (u=exp(-ex*deta*x-ex*deta*y) with a square with % all Dirichlet boundary, note that reaction coefficient is not zero % by indirect BKM
上传时间: 2016-01-03
上传用户:CHINA526
资源简介:% BackgroundRemoval=[true],false % Gain=[tsquare],linear % BandPass=[paul],fircls % CenterFrequency, auto (determined using pburg) % BandWidth=auto (a fraction of the CenterFrequency default=0.25) % ContrastStretch=[true],false ...
上传时间: 2016-03-04
上传用户:yyq123456789
资源简介:% This program calculates Dilution of Precision with respect to a GPS * % receiver given its Cartesian ECEF position and the positions of four or * % more visible GPS satellites. It is a validation of the DOP algorithm and * % contai...
上传时间: 2014-01-25
上传用户:zq70996813
资源简介:%radon transform clear all % N=800 n=1:N fs=200 t=n/fs x1=exp(j*2*pi*(5*t+0.5*5*t.^2)) x2=exp(j*2*pi*(5*t+0.5*15*t.^2)) x=x1+x2 %N=length(x) % ambifunb(x ) %*****************************************RAT na...
上传时间: 2014-10-27
上传用户:Yukiseop
资源简介:一篇关于TCP-Vegas的文献:Vegas is an implementation of TCP that achieves between 37 and 71% better throughput on the Internet, with onefifth to one-half the losses, as compared to the implementation of TCP in the Reno distribution of BSD Un...
上传时间: 2014-01-08
上传用户:lwwhust
资源简介:k-step ahead predictions determined by simulation of the % one-step ahead neural network predictor. For NNARMAX % models the residuals are set to zero when calculating the % predictions. The predictions are compared to the observed ou...
上传时间: 2016-12-27
上传用户:busterman