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 (최근 30일)
이전 댓글 표시
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
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Calculus에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!