fmincon help

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 个评论

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.

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Annotations 的更多信息

提问:

2012-4-23

Community Treasure Hunt

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

Start Hunting!

Translated by