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 Center および File ExchangeSolver 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