population size of pso in matlab
4 views (last 30 days)
Show older comments
I am trying particle swarm optimization in MATLAB, but i could not find any information about the default number of population size for the PSO in matlab function. ( pos() ). I want to know about the population size. thank you.
0 Comments
Accepted Answer
Stephan
on 15 Oct 2020
You find it here:
The entry is in the third row from the bottom of the table:
"SwarmSize
Number of particles in the swarm, an integer greater than 1. Default is min(100,10*nvars), where nvars is the number of variables."
More Answers (0)
See Also
Categories
Find more on Particle Swarm in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!