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일

0 개 추천

Hello:
fminsearch solve unconstrained minimum problems only. If you need to impose restrictions you should use (for example) fmincon. Good Luck

카테고리

도움말 센터File Exchange에서 Nonlinear Optimization에 대해 자세히 알아보기

질문:

2014년 10월 3일

답변:

2014년 10월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by