Plotting values for binary pso

10 vues (au cours des 30 derniers jours)
maoster
maoster le 4 Août 2015
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

Réponses (1)

Ali Alaa
Ali Alaa le 17 Avr 2018
If you figured out please share it out with me because i'm cant figure it out yet.

Community Treasure Hunt

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

Start Hunting!

Translated by