nonlcon : Too many input arguments.
Ältere Kommentare anzeigen
Hi everybody, I have a problem with non linear constraints in fmincon. I get this error "Too many input arguments".
The nonlcon function is very simple:
function [c,ceq] = covposdef(x)
c = -x(3)*x(5)+x(4)^2;
ceq = [];
end
The function to optimize is a likelihood of a bivariate normal density. Any suggestion?
Akzeptierte Antwort
Weitere Antworten (0)
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!