function state = gaplotchange(options, state, flag) % GAPLOTCHANGE Plots the logarithmic change in the best score from the % pre…
Mesh+Generation 源代码
汇集 Mesh+Generation 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
function state = gaplotbestfun(options,state,flag) %GAPLOTBESTF Plots the best score and the mean score. % STATE = PLOTBEST(OPTI…
[x,y] = meshgrid(-3:0.1:3,-2:0.1:2); z=(x.^2-2*x).*exp(-x.^2-y.^2-x.*y); mesh(x,y,z) axis([-3,3,-2,2,-0.7,1.5])
function mesh546 mesh(peaks) hidden off
function surf523 [X,Y,Z] = peaks(30); surf(X,Y,Z) figure mesh(Z)
function colormap545 [x,y,z]=peaks; mesh(x,y,z); colormap(autumn (128))
[x,y,z] = peaks; mesh(x,y,z); hidden off axis tight
1 Li I 4s nconf= 1 z= 3 ncores= 1 nvales= 1 ion= 0 r(i)/x(i)=0.61386142 ca1=0.700 tolst…
[x1,x2] = meshgrid(-512:4:512); f=x1.^2+x2.^2; mesh(x1,x2,f); xlabel('x1'); ylabel('x2'); zlabel('f(x1,x2)');
[x1,x2] = meshgrid(-512:4:512); f=x1.^2+x2.^2; mesh(x1,x2,f); xlabel('x1'); ylabel('x2'); zlabel('f(x1,x2)');