xiaoshuizhu 发表于 2007-5-16 16:08

遗传算法编程问题(程序),有问题,请指点

??? Error using ==> sym.sym>char2sym
Error, 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 编辑 ]

xiaoshuizhu 发表于 2007-5-16 18:32

哦,我的是粒子群算法的程序!跟遗传算法有共同点的!

xiaoshuizhu 发表于 2007-5-17 11:04

急啊!急啊!我一直在线等着!

多情清秋 发表于 2007-5-17 14:55

http://forum.vibunion.com/forum/thread-5436-1-24.html

xiaoshuizhu 发表于 2007-5-17 16:22

万分感谢!

xiaoshuizhu 发表于 2007-5-18 22:14

我试过了,还是那样的!
页: [1]
查看完整版本: 遗传算法编程问题(程序),有问题,请指点