photo

Biswajit Das


Aktiv seit 2019

Followers: 0   Following: 0

Statistik

  • Thankful Level 1

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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...

etwa 5 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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)...

etwa 5 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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...

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort