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?
Ältere Kommentare anzeigen
I did the same way as in the optimization toolbox guide.
Akzeptierte Antwort
Weitere Antworten (3)
Alan Weiss
am 28 Mai 2015
0 Stimmen
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
shilpa suresh
am 29 Mai 2015
0 Stimmen
Torsten
am 29 Mai 2015
As objective function, use
function z = vrosenbrock(x)
z = 100*(x(2) - x(1)^2)^2 + (1 - x(1))^2;
Best wishes
Torsten.
1 Kommentar
shilpa suresh
am 29 Mai 2015
Kategorien
Mehr zu Solver Outputs and Iterative Display finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
