Info

This question is closed. Reopen it to edit or answer.

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 view (last 30 days)
Capturepp.PNG
  1 Comment
Walter Roberson
Walter Roberson on 29 Sep 2019
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.

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!