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) "
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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('--------------------------------------'));
0 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Calculus en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!