MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   [MATLAB工具箱] 我是菜鸟,求大大帮助,遗传算法中目标函数编写问题 (https://www.labfans.com/bbs/showthread.php?t=17480)

jianjianguoqin 2012-08-08 16:25

我是菜鸟,求大大帮助,遗传算法中目标函数编写问题
 
function[sol,eval]=fitness(sol,options)
x=sol(1)
eval=10*sin(x)+cos(x),其中sol(1)是怎么回事/


所有时间均为北京时间。现在的时间是 14:33

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.