필터 지우기
필터 지우기

how to gave the input for the following functions?

조회 수: 2 (최근 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 CenterFile Exchange에서 Particle Swarm에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by