how to gave the input for the following functions?
Mostra commenti meno recenti
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
Risposte (1)
Walter Roberson
il 2 Lug 2015
Example:
@(x) (x(1)-20).^2 + cos(x(2))
3 Commenti
ajith
il 2 Lug 2015
Walter Roberson
il 2 Lug 2015
You have not indicated what is to be optimized. What parameter is being looked for?
ajith
il 2 Lug 2015
Categorie
Scopri di più su Particle Swarm in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!