photo

Biswajit Das


Attivo dal 2019

Followers: 0   Following: 0

Statistica

  • Thankful Level 1

Visualizza badge

Feeds

Visto da

Domanda


Error while debugging.Hi all.While running the program message showing-"Error using sym/max (line 123) Input arguments must be convertible to floating-point numbers. Error in untitled2 (line 159) [bestfun,bestrun]=max(fvalue) "
gbest; f2update=zeros(4,1) f2update = (Cfr.*gbest+ Vfr.* Qfr) syms fvalue positive rational fvalue=symsum(f1,0, Zka)- symsum...

circa 5 anni fa | 0 risposte | 0

0

risposte

Domanda


Hii all,As I had earlier having issues with array size,I tried to resolve it;but again I m getting error message in the line "f0(i,1)=fprofit(x0(i,:));"
m=4; n=100; wmax=0.9 wmin=0.4 c1=2; c2=2; maxite=1000; maxrun=10; for run=1:maxrun for i=1:n for j=1:m x0(i,j)...

circa 5 anni fa | 0 risposte | 0

0

risposte

Domanda


Error showing as "index exceeds the number of array elements (3)"
LB=[0 0 0]; UB=[10 10 10]; m=4; n=100; for i=1:n for j=1:m x0(i,j)=round(LB(j)+rand()*(UB(j)-LB(j))); end end x=x...

circa 5 anni fa | 1 risposta | 0

1

risposta