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

2 visualizzazioni (ultimi 30 giorni)
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 .

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by