Plotting values for binary pso

1 visualizzazione (ultimi 30 giorni)
maoster
maoster il 4 Ago 2015
Risposto: Ali Alaa il 17 Apr 2018
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

Risposte (1)

Ali Alaa
Ali Alaa il 17 Apr 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