Failure in initial user-supplied objective function evaluation
이전 댓글 표시
abc = @fun1;
x0 = [0,0];
lb = [0,0];
ub = [0.7,0.7];
x = simulannealbnd(abc,x0,lb,ub)
답변 (1개)
Try
abc = @fun1;
x0 = [0,0];
f = abc(x0);
and see what is returned in f.
카테고리
도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!