MATLAB Answers

0

finding minimum in a region

Asked by Physiker192 on 3 Oct 2014
Latest activity Answered by Alberto
on 3 Oct 2014
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

  0 Comments

Sign in to comment.

1 Answer

Answer by Alberto
on 3 Oct 2014

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

  0 Comments

Sign in to comment.