% [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--------最優(yōu)的群體即為最優(yōu)的染色體群 % Trace----------最佳染色體所對(duì)應(yīng)的目標(biāo)函數(shù)值 % FUN------------目標(biāo)函數(shù) % LB-------------自變量下限 % UB-------------自變量上限 % eranum---------種群的代數(shù),取100--1000(默認(rèn)1000) % popsize--------每一代種群的規(guī)模;此可取50--100(默認(rèn)50) % pcross---------交叉的概率,此概率一般取0.5--0.85之間較好(默認(rèn)0.8) % pmutation------變異的概率,該概率一般取0.05-0.2左右較好(默認(rèn)0.1) % options--------1×2矩陣,options(1)=0二進(jìn)制編碼(默認(rèn)0),option(1)~=0十進(jìn)制編碼,option(2)設(shè)定求解精度(默認(rèn)1e-4)
資源簡(jiǎn)介:% [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--------最優(yōu)的群體即為...
上傳時(shí)間: 2015-07-16
上傳用戶:Altman
資源簡(jiǎn)介:%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...
上傳時(shí)間: 2015-10-26
上傳用戶:caiiicc
資源簡(jiǎn)介: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...
上傳時(shí)間: 2014-01-13
上傳用戶:youth25
資源簡(jiǎn)介:%利用乘同余法寫的白噪聲程序 %對(duì)于辨識(shí)有一定幫助 %相關(guān)方法可以參照乘同余法原理
上傳時(shí)間: 2015-05-18
上傳用戶:變形金剛
資源簡(jiǎn)介:%直接型到并聯(lián)型的轉(zhuǎn)換 % %[C,B,A]=dir2par(b,a) %C為當(dāng)b的長(zhǎng)度大于a時(shí)的多項(xiàng)式部分 %B為包含各bk的K乘2維實(shí)系數(shù)矩陣 %A為包含各ak的K乘3維實(shí)系數(shù)矩陣 %b為直接型分子多項(xiàng)式系數(shù) %a為直接型分母多項(xiàng)式系數(shù) %
上傳時(shí)間: 2014-01-20
上傳用戶:lizhen9880
資源簡(jiǎn)介:直接型到級(jí)聯(lián)型的形式轉(zhuǎn)換 % [b0,B,A]=dir2cas(b,a) %b 為直接型的分子多項(xiàng)式系數(shù) %a 為直接型的分母多項(xiàng)式系數(shù) %b0為增益系數(shù) %B 為包含各bk的K乘3維實(shí)系數(shù)矩陣 %A 為包含各ak的K乘3維實(shí)系數(shù)矩陣 %
上傳時(shí)間: 2013-12-30
上傳用戶:agent
資源簡(jiǎn)介:%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...
上傳時(shí)間: 2015-09-28
上傳用戶:zhangzhenyu
資源簡(jiǎn)介:%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...
上傳時(shí)間: 2014-01-06
上傳用戶:hullow
資源簡(jiǎn)介:% 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
上傳時(shí)間: 2015-12-27
上傳用戶:www240697738
資源簡(jiǎn)介: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....
上傳時(shí)間: 2016-01-28
上傳用戶:小儒尼尼奧
資源簡(jiǎn)介: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...
上傳時(shí)間: 2014-01-10
上傳用戶:hustfanenze
資源簡(jiǎn)介: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...
上傳時(shí)間: 2016-04-15
上傳用戶:Yukiseop
資源簡(jiǎn)介:%例15-1 NaN數(shù)據(jù)參與分析 a = magic(3) a(2,2) = NaN %用NaN表示遺失數(shù)據(jù) sum(a) %對(duì)數(shù)據(jù)集進(jìn)行求和
上傳時(shí)間: 2016-07-12
上傳用戶:as275944189
資源簡(jiǎn)介:%For the following 2-class problem determine the decision boundaries %obtained by LMS and perceptron learning laws.
上傳時(shí)間: 2016-11-26
上傳用戶:guanliya
資源簡(jiǎn)介: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 ...
上傳時(shí)間: 2016-12-27
上傳用戶:exxxds
資源簡(jiǎn)介:Produces a matrix of derivatives of network output w.r.t. % each network weight for use in the functions NNPRUNE and NNFPE.
上傳時(shí)間: 2013-12-18
上傳用戶:sunjet
資源簡(jiǎn)介:% 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.
上傳時(shí)間: 2016-12-28
上傳用戶:dongqiangqiang
資源簡(jiǎn)介:matlab實(shí)現(xiàn)計(jì)算機(jī)模擬排隊(duì)論 %排隊(duì)模型的計(jì)算機(jī)模擬 %排隊(duì)論是一門研究隨即服務(wù)系統(tǒng)工作過(guò)程的理論和方法 %m表示一個(gè)工作日內(nèi)完成的服務(wù)顧客數(shù) %t表示顧客的平均等待時(shí)間
上傳時(shí)間: 2017-01-29
上傳用戶:mhp0114
資源簡(jiǎn)介:matlab解線性方程組的源代碼 function x=nagauss2(a,b,flag) % 用途:選列主元Gauss消去法解線性方程組ax=b % 格式:x=nagauss2(a,b,flag) a為系數(shù)矩陣,b為右端列向量,flag若為0,則顯示中間過(guò)程
上傳時(shí)間: 2013-12-22
上傳用戶:exxxds
資源簡(jiǎn)介: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).
上傳時(shí)間: 2015-07-23
上傳用戶:zyt
資源簡(jiǎn)介:% 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...
上傳時(shí)間: 2013-12-24
上傳用戶:sammi
資源簡(jiǎn)介: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...
上傳時(shí)間: 2015-09-08
上傳用戶:xieguodong1234
資源簡(jiǎn)介:基于"trace transform"的識(shí)別2D圖像的C++源程序, 主文件是tt.cpp, 在LINUX下可以用 g++ tt.cpp -o tt -O3進(jìn)行編繹, 而且最后的結(jié)果也可以在MATLAB下顯示出來(lái), This package presents C++ tools to the trace transform of a 2D im...
上傳時(shí)間: 2013-12-23
上傳用戶:redmoons
資源簡(jiǎn)介:% 文件名:randlsbget.m % 程序員:余波 % 編寫時(shí)間:2007.6.25 % 函數(shù)功能: 本函數(shù)將完成提取隱秘于上的秘密信息 % 輸入格式舉例:result=( scover.jpg ,56, secret.txt ,2001) % 參數(shù)說(shuō)明: % output是信息隱藏后的圖象 % len_total是秘密信息的...
上傳時(shí)間: 2015-11-10
上傳用戶:yzhl1988
資源簡(jiǎn)介:% 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
上傳時(shí)間: 2016-01-03
上傳用戶:CHINA526
資源簡(jiǎn)介:% 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 ...
上傳時(shí)間: 2016-03-04
上傳用戶:yyq123456789
資源簡(jiǎn)介:% 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...
上傳時(shí)間: 2014-01-25
上傳用戶:zq70996813
資源簡(jiǎn)介:%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...
上傳時(shí)間: 2014-10-27
上傳用戶:Yukiseop
資源簡(jiǎn)介:一篇關(guān)于TCP-Vegas的文獻(xiàn):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...
上傳時(shí)間: 2014-01-08
上傳用戶:lwwhust
資源簡(jiǎn)介: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...
上傳時(shí)間: 2016-12-27
上傳用戶:busterman