From: lavanya ananthan on
how to intially assign position and velocity of a particle in 8x8 matrix(block of an image)?
From: George on
"lavanya ananthan" <knsitsmailbox(a)rediffmail.com> wrote in message <ho7bs1$iq8$1(a)fred.mathworks.com>...
> how to intially assign position and velocity of a particle in 8x8 matrix(block of an image)?

Lavanya,

In general it would be easier to use an existing PSO toolbox than to write code from scratch. If you find a good toolbox, initializations and other features will be coded for you already. There are a lot of great options available. The "PSO Research Toolbox" [1] has a quick walk through in the product documentation, and it appears to be fully compatible with the latest versions of MATLAB and Windows.

v/r,
George Evers

[1] http://www.georgeevers.org/pso_research_toolbox.htm