finding minimum in a region

2 ビュー (過去 30 日間)
Physiker192
Physiker192 2014 年 10 月 3 日
回答済み: Alberto 2014 年 10 月 3 日
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
Alberto 2014 年 10 月 3 日
Hello:
fminsearch solve unconstrained minimum problems only. If you need to impose restrictions you should use (for example) fmincon. Good Luck

カテゴリ

Help Center および File ExchangeMathematics についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by