Particle Swarm Optimization (PSO)
Updated 16 Jun 2020
The Program can be run from the command window following the on-screen instructions. A function file of the objective function need to be created, and named 'myfun'.
A sample function file is uploaded for Hartmann-3 function.
Arshad Afzal (2023). Particle Swarm Optimization (PSO) (https://www.mathworks.com/matlabcentral/fileexchange/72530-particle-swarm-optimization-pso), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.