Community Profile

photo

GAO Si


Active since 2012

Followers: 0   Following: 0

Message

Statistics

Feeds

View by

Question


I am beginner of Matlab. While I use MATLAB to solve the problem of constrained nonlinear optimization, "Lack of input arguments" are always warning.Did someonecan tell me how to slove this probrem?THx
function f=optfun(x) f=-x(1)*x(2)*x(3); %fmincon_example.m X0=[1,1,1]; A=[1,2,2;0,1,0;0,0,1]; b=[72;5;10]; x=fmincon...

11 years ago | 1 answer | 0

1

answer