how to gave the input for the following functions?

2 visualizaciones (últimos 30 días)
ajith
ajith el 2 de Jul. de 2015
Comentada: ajith el 2 de Jul. de 2015
function [x, fval, exitflag, output] = pso(objfunc, nvars, options)
In that function specified the objfunc means "real-valued function of a single, real-valued vector argument"
please call the function with example would been easy to understand

Respuestas (1)

Walter Roberson
Walter Roberson el 2 de Jul. de 2015
Example:
@(x) (x(1)-20).^2 + cos(x(2))
  3 comentarios
Walter Roberson
Walter Roberson el 2 de Jul. de 2015
You have not indicated what is to be optimized. What parameter is being looked for?
ajith
ajith el 2 de Jul. de 2015
sir i am new in PSO.
i need to optimized the features of 20 images. To find the gbest .

Iniciar sesión para comentar.

Categorías

Más información sobre Particle Swarm en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by