Description: 使用pso求最小化一函數
matlab程式碼,寫的非常簡潔(不到100行),且還包括了2維的圖形展示,和大家分享參考!!!
一起學習matlab和各種optimize methods
最小化:(x-15)^2+(y-20)^2
The swarm matrix is
swarm(index, [location, velocity, best position, best value], [x, y components or the value component])
Author: Wesam ELSHAMY (wesamelshamy@yahoo.com) MSc Student, Electrical Enginering Dept., Faculty of Engineering Cairo University, Egypt
- Uses pso asks a smallest letter 鈻 Platform: |
Size: 13312 |
Author:pychang |
Hits: