fminunc and fminsearch different x(1) and x(2) value with no initial starting point

조회 수: 2 (최근 30일)
melissa tan
melissa tan 2018년 11월 10일
댓글: Torsten 2018년 11월 12일
I was given a question to find a minimization of an equation for two dimensional case but i am not giving any initial point . I have use both fminsearch and fminunc to try the minimization value but give me different x(1) and x(2). For fminsearch no matter how i change the initial point the result give me the same . On the other hand , for fminunc when i change the initial point , it always give me different x(1) and x(2) values . So which one is correct one? I am confused .

답변 (0개)

카테고리

Help CenterFile Exchange에서 Solver Outputs and Iterative Display에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by