Info

此问题已关闭。 请重新打开它进行编辑或回答。

If I want to apply PSO for a 20 matrices each matrix of 1x100 dimensions , what will be the nvar ,npop although the fittnes function has two variable,?

1 次查看(过去 30 天)
Capturepp.PNG
  1 个评论
Walter Roberson
Walter Roberson 2019-9-29
You cannot apply PSO to a matrix. You can apply PSO to a function. You can use matrices to initialize the population to be used with a function. The matrices would have one of the dimensions the same as the number of variables.

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by