using fmincon function for optimisation
이전 댓글 표시
Hey, I was wondering if anyone could explain this. I am using fmincon function for optimisation but gets the following error: Error using fmincon (line 220) FMINCON requires the following inputs to be of data type double: 'Aeq','Beq'.
Error in OptimisationCode1 (line 112) [xalpha,fval,flag]=fmincon(gap,xalphakeep,alphamin,alphamax,@nonlconstr,options);
But I believe both alphamin and alphamax are defined as double by default. Could you please suggest any alternatives?
Ajmal Roshan
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Function Creation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!