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

2 次查看(过去 30 天)
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