<H3 ><FONT size=1>无约束非线性规划问题:</FONT></H3>
< ><FONT size=1><B><FONT face="Times New Roman">1</FONT></B><B>.<FONT face="Times New Roman">fminunc</FONT></B><B>函数<p></p></B></FONT></P>
< ><B><FONT size=1>几种调用格式:<FONT face="Times New Roman"> </FONT></FONT></B></P>
< ><B><FONT size=1><FONT face="Times New Roman"> x=fminunc(fun,x0)<p></p></FONT></FONT></B></P>
<P ><B><FONT face="Times New Roman"><FONT size=1> x=fminunc(fun,x0,options)<p></p></FONT></FONT></B></P>
<P ><B><FONT face="Times New Roman"><FONT size=1> x=fminunc(fun,x0,options,P1,P2)<p></p></FONT></FONT></B></P>
<P ><FONT size=1><B><FONT face="Times New Roman"> [x,fval]=fminunc(</FONT></B><B>…<FONT face="Times New Roman">)<p></p></FONT></B></FONT></P>
<P ><FONT size=1><B><FONT face="Times New Roman"> [x,fval, exitflag]=fminunc(</FONT></B><B>…<FONT face="Times New Roman">)<p></p></FONT></B></FONT></P>
<P ><FONT size=1><B><FONT face="Times New Roman"> [x,fval, exitflag,output]=fminunc(</FONT></B><B>…<FONT face="Times New Roman">)<p></p></FONT></B></FONT></P>
<P ><FONT size=1><B><FONT face="Times New Roman">[x,fval, exitflag,output,grad]=fminunc(</FONT></B><B>…<FONT face="Times New Roman">)<p></p></FONT></B></FONT></P>
<P ><FONT size=1><B><FONT face="Times New Roman">[x,fval, exitflag,output,grad,hessian]=fminunc(</FONT></B><B>…<FONT face="Times New Roman">)<p></p></FONT></B></FONT></P>
<P ><FONT size=1><B>说明:</B><FONT face="Times New Roman">fun</FONT>为需最小化的目标函数,<FONT face="Times New Roman">x0</FONT>为给定的搜索的初始点。<FONT face="Times New Roman">options</FONT>指定优化参数。</FONT></P><FONT size=1>返回的x为最优解向量;fval为x处的目标函数值;exitflag描述函数的输出条件;output返回优化信息;grad返回目标函数在x处的梯度。Hessian返回在x处目标函数的Hessian矩阵信息。</FONT> |