yj1.m:简单一元函数优化实例
yj1.m:简单一元函数优化实例,利用遗传算法计算下面函数的最大值 包括了遗传算法的12个经典例题,适合大家学习参考。...
yj1.m:简单一元函数优化实例,利用遗传算法计算下面函数的最大值 包括了遗传算法的12个经典例题,适合大家学习参考。...
求标准偏差 > function c=myfunction(x) > [m,n]=size(x) > t=0 > for i=1:numel(x) > t=t+x(i)*x(i) > end > c=sqrt(t/(m*n-1))...
求标准偏差 > function c=myfunction(x) > [m,n]=size(x) > t=0 > for i=1:numel(x) > t=t+x(i)*x(i) > end > c=sqrt(t/(m*n-1))...
求标准偏差 > function c=myfunction(x) > [m,n]=size(x) > t=0 > for i=1:numel(x) > t=t+x(i)*x(i) > end > c=sqrt(t/(m*n-1))...
求标准偏差 > function c=myfunction(x) > [m,n]=size(x) > t=0 > for i=1:numel(x) > t=t+x(i)*x(i) > end > c=sqrt(t/(m*n-1))...