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

Respuestas (1)

Alberto
Alberto el 3 de Oct. de 2014

0 votos

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

Categorías

Más información sobre Parallel Computing Toolbox en Centro de ayuda y File Exchange.

Preguntada:

el 3 de Oct. de 2014

Respondida:

el 3 de Oct. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by