Community Profile

photo

Devashish Sharma


Active since 2016

Statistics

Content Feed

View by

Question


not enough input arguments while using fmincon
function f = fun( p ) c1=100+2*p(1)+0.005*p(1)^2; c2=200+2*p(2)+0.01*p(2)^2; f=c1+c2; a=[1 1]; b=450; x0=[2; 3]; [p fu...

7 years ago | 0 answers | 0

0

answers