Hello Michael, it do run but u need to define the range and other input parameters as given by Mr Andrea, it runs perfectly,but my only doubt is the minimal value because i got 1.0e+006,so i want be sure is it the minimum value?
Thank you so much
Why does the example fail to run in matlab? I got this message when I ran the file.The message reads :"??? Input argument "range" is undefined.
Error in ==> pso at 19
range_min=range(1); % Range for initial swarm's elements "
I have never used partical swarm.Am new to it