finding minimum in a region
显示 更早的评论
Hello, i have a function: 2*cos(x1) + cos (x2) - 2*x3 i want to find the minimum using fminsearch. Is there anyway to find this minimum for specific values of x1 let's say 0<x1<10. Thanks in advance
回答(1 个)
Alberto
2014-10-3
0 个投票
Hello:
fminsearch solve unconstrained minimum problems only. If you need to impose restrictions you should use (for example) fmincon. Good Luck
类别
在 帮助中心 和 File Exchange 中查找有关 Parallel Computing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!