PSO Demo
% Written by Rodney Tan (PhD)
% Version 1.00 (Aug 2020)
%
% This script demonstrate the fundamental idea of Particle Swarm Optimisation (PSO)
% searching for minimum cost in a two dimension variables sphere function
%
% This PSO demo allows the user to set the population size, inertia coefficient (w),
% personal acceleration coefficient (c1), global acceleration coefficient (c2),
% inertia damping weight, the number of iteration, search space lower boundary
% and search space upper boundary.
%
% Reference
% Yarpiz (2020). Video Tutorial of Particle Swarm Optimization (PSO) in MATLAB
% (https://www.mathworks.com/matlabcentral/fileexchange/57286-video-tutorial-of-particle swarm-optimization-pso-in-matlab),
% MATLAB Central File Exchange.
Cite As
Rodney Tan (2024). PSO Demo (https://www.mathworks.com/matlabcentral/fileexchange/79239-pso-demo), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: Particle Swarm Optimization (PSO)
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.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |