Particle Swarm Optimization in matlab

can anyone give me the pso code in matlab for minimizing (x^2)+(y^2)? where 1<x<20 & 0.03<y<0.9

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!