Clear Filters
Clear Filters

fmincon help

1 view (last 30 days)
CorneCap
CorneCap on 23 Apr 2012
Hi, i want to plot y=f(x) while x<2; y<5; x+y<4; i found that fmincon function can be useful in my case,can anyone guide me please?
  1 Comment
Sean de Wolski
Sean de Wolski on 23 Apr 2012
huh? You want to plot it? FMINCON is used for minimizing a function of Xn variables, that returns a scalar value, subject to constraints. Do you want to find the Xn values and then plot it? Please clarify the question and provide enough detail we can make an educated guess.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!