TianZhendong
6 years ago
committed by
GitHub
1 changed files with 4 additions and 0 deletions
@ -0,0 +1,4 @@ |
|||
function fit=fitness(x) |
|||
%求最大的,若是求最小则可以求倒 |
|||
fit=(x+10*sin(5*x)+7*cos(4*x)); |
|||
end |
Loading…
Reference in new issue