I am getting an error message 'not enough input arguments' on running Rosenbrock's function using the optimization tool box solver 'fmincon' solver. How to correct it?
이전 댓글 표시
I did the same way as in the optimization toolbox guide.
채택된 답변
추가 답변 (3개)
Alan Weiss
2015년 5월 28일
0 개 추천
For more help, please show us your exact Rosenbrock function, your exact and full fmincon call, and the exact output that you received.
Alan Weiss
MATLAB mathematical toolbox documentation
Torsten
2015년 5월 29일
As objective function, use
function z = vrosenbrock(x)
z = 100*(x(2) - x(1)^2)^2 + (1 - x(1))^2;
Best wishes
Torsten.
카테고리
도움말 센터 및 File Exchange에서 Solver Outputs and Iterative Display에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
