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 (2022). 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!