Problem with interpreting some codes and functions
1 次查看(过去 30 天)
显示 更早的评论
Hi All
I can't interpret what these lines do , could anyone tell me about the structure ? and what does it do ?
%options options = optimset('Display','iter','LargeScale','off','Tolfun',1e-3,'tolcon',1e-3,'TolX',1e-3,'MaxFunEvals',1000,'Algorithm','active-set','DiffMaxChange',0.5e-1,'DiffMinChange',1e-3);
%optimize [OptVar, Poisson, drie, vier, vijf, zes] = fmincon(@(c)ModelCalc(c,3),[0,0],[],[],[],[],[],[],@(c)InEqConstraint2(c),options);
2 个评论
Image Analyst
2014-10-9
They don't do anything - they're comments because they start with a % symbol.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Nonlinear Optimization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!