psoplotswarm is meant to plot particle positions in a 3-dimensional axes. I use it in the PSODEMO file to make it easier to visualize how the swarm behaves. IIRC the ijk variable is a 3-element array where you specify which dimension of your problem you want to plot (for example, if you have a problem with 12 dimensions and you want to plot the particle positions along the 4th, 7th, and 11th dimensions on a 3D plot).
What is the meaning of the ijk parameter of psoplotswarm(options,state,flag,ijk)? What is psoplotswarm() intended to plot?
As further background, I'm using psobinary() to optimize a two-dimensional array (adjacency matrix for a network).
Great tool, I have been using the 2010 release with no problems. Just updated to the latest release 20140330 but found out that my upper/lower bounds LB/UB are now somehow getting ignored. I noticed that this issue was brought up by Erik and others below, and you seem to indicate that this was fixed. Was it fixed in this release? This bug is serious because my LB is positive yet the PSO is straying into negative values. Hope this could be fixed soon. I am running 22.214.171.1243 (R2012b).