fminunc with quasi-Newton algorithm giving unexpected results

1 次查看(过去 30 天)

采纳的回答

MathWorks Support Team
Double check that the "fminunc" function is correct. Small errors in the function to minimize could cause for very unexpected results.
Additionally, setting 'SpecifyObjectiveGradient' to true and defining a gradient function might drastically improve your solution.
Please see the following link for information on defining a gradient for the objective function:

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Multidimensional Arrays 的更多信息

产品


版本

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by