This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
TianZD
/
GA-PID_matlab
Watch
1
Star
0
Fork
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15
Commits
1
Branch
0
Tags
68 KiB
Tree:
ea09bd6df8
master
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from 'ea09bd6df8'
${ noResults }
GA-PID_matlab
/
GA
/
fitness
5 lines
107 B
Raw
Normal View
History
Create fitness
6 years ago
function fit=fitness(x)
%求最大的,若是求最小则可以求倒
fit=(x+10*sin(5*x)+7*cos(4*x));
end