If you figured out please share it out with me because i'm cant figure it out yet.
Plotting values for binary pso
3 次查看(过去 30 天)
显示 更早的评论
Hi,
I'm developing a program for binary PSO. I'm trying to illustrate the particles movement. But I don't know how to implement it since the particles in binary PSO do not have coordinates like standard PSO have. I have the binary values as follow for one particle. Each column is the iteration. How can I plot the location of this particle? Many thanks.
0 1 0 0 1 0 0 1 0 0 1 0 1
0 1 0 0 1 1 0 0 1 1 1 1 1
0 1 0 0 0 0 1 0 1 0 1 0 0
0 0 0 0 1 0 1 0 1 1 0 1 1
1 0 1 0 0 1 0 1 0 0 1 0 1
0 0 0 1 0 0 0 0 0 0 0 0 1
1 1 1 1 1 1 1 1 1 1 1 1 1
0 0 1 0 1 1 0 0 0 0 0 0 1
1 1 1 1 1 0 1 0 0 1 0 0 0
0 1 0 0 0 1 0 0 0 0 0 0 1
1 0 1 1 0 0 1 1 0 1 1 1 1
0 0 0 0 0 0 1 0 0 0 0 1 0
1 1 1 1 1 1 1 0 1 1 0 1 1
1 1 0 0 0 1 0 1 0 1 0 0 0
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Particle Swarm 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!