how can i plot this code into a banana solutiongraph?
显示 更早的评论
options = optimoptions(@fminunc,'Display','iter','Algorithm','quasi-newton');
[x,fval,exitflag,output] = fminunc(fun,x0,options);
%%thank you so much
回答(1 个)
Alan Weiss
2020-3-24
0 个投票
Perhaps what you are asking relates to this example:
If so, then open the example and use the attached output function. If not, then please ask again.
Alan Weiss
MATLAB mathematical toolbox documentation
2 个评论
risky amalia
2020-3-25
Alan Weiss
2020-3-25
The attached output function plots into the graph. You have to open the example to be able to access the bananaout output function.
Alan Weiss
MATLAB mathematical toolbox documentation
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!