Filter löschen
Filter löschen

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,b​estrun]=ma​x(fvalue) "

1 Ansicht (letzte 30 Tage)
gbest;
f2update=zeros(4,1)
f2update = (Cfr.*gbest+ Vfr.* Qfr)
syms fvalue positive rational
fvalue=symsum(f1,0, Zka)- symsum(f2update,0, 1)-symsum(f3,0, 1)-symsum(f4,0, Zka)-symsum(f5,0, Zka);
%fff(ite)=fvalue(ite,:);
rgbest(run,:)=gbest;
disp(sprintf('--------------------------------------'));

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by