遗传算法编程问题(程序),有问题,请指点
??? Error using ==> sym.sym>char2symError, integer too large in context
Error in ==> sym.sym at 92
S = char2sym(x);
Error in ==> sym.maple at 92
result = sym(result);
Error in ==> sym.plus at 22
X = maple(A(:),'+',B(:));
Error in ==> PHASE at 25
F=.*deta*besselj(0,deta*r(m)/reff)/(reff^2);
Error in ==> fit at 5
PH1=PHASE(k1,k2,Rth);
Error in ==> adapting1 at 5
w=fit(pop(i,1));
Error in ==> main1 at 48
adapting1 %计算适应值
[ 本帖最后由 huright 于 2007-5-16 17:33 编辑 ] 哦,我的是粒子群算法的程序!跟遗传算法有共同点的! 急啊!急啊!我一直在线等着! http://forum.vibunion.com/forum/thread-5436-1-24.html 万分感谢! 我试过了,还是那样的!
页:
[1]