how to gave the input for the following functions?

5 ビュー (過去 30 日間)
ajith
ajith 2015 年 7 月 2 日
コメント済み: ajith 2015 年 7 月 2 日
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

回答 (1 件)

Walter Roberson
Walter Roberson 2015 年 7 月 2 日
Example:
@(x) (x(1)-20).^2 + cos(x(2))
  3 件のコメント
Walter Roberson
Walter Roberson 2015 年 7 月 2 日
You have not indicated what is to be optimized. What parameter is being looked for?
ajith
ajith 2015 年 7 月 2 日
sir i am new in PSO.
i need to optimized the features of 20 images. To find the gbest .

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeParticle Swarm についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by