This is a MATLAB code that uses PSO to minimize a function. It is very concise (less than 100 lines) and also includes a 2D graphical display. I would like to share it with you for reference!!! Let\'s learn MATLAB and various optimize methods together. Minimize: (x-15)^2+(y-20)^2The swarm matrix isswarm(index, [location, velocity, best position, best value], [x, y components or the value component])Author: Wesam ELSHAMY (wesamelshamy@yahoo.com) MSc Student, Electrical Engineering Dept., Faculty of Engineering Cairo University, Egypt
You Might Like
Recommended ContentMore
Open source project More
Popular Components
Searched by Users
Just Take a LookMore
Trending Downloads
Trending ArticlesMore