Getting an Error while runnig pso algorithm

While running PSO algo and calling a styblinski-tang function get an error msg like
error in untitled3 (line 48)
[~, fBest, info] = PSO(objFun, x0, xLow, xUpp, options);
i take the PSO code and Styblinski-tang function code from matlab itself.
How i can remove this error.

Answers (0)

Asked:

on 7 May 2020

Commented:

on 7 May 2020

Community Treasure Hunt

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

Start Hunting!