Feeds
提问
which for loop will completed first ??
for i=1:5 for j=1:4 v(i,j)=w*v(i,j)+c1*rand()*(pbest(i,j)-x(i,j))+c2*rand()*(gbest(1,j)-x(i,j)); end end how this lo...
7 years 前 | 1 个回答 | 0
1
个回答提问
how can i display the best value from the random numbers which are used to find another parameter??
for example i have an equation like V=(22*d.^2*l(i))/(7*0.4),in which i am generating 10 random values for l. now i am using thi...
7 years 前 | 0 个回答 | 0