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
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

yes i tried that, but the code is just for show the value of optimization, not to plot into grap
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에 대해 자세히 알아보기

제품

릴리스

R2015b

태그

질문:

2020년 3월 23일

댓글:

2020년 3월 25일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by