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.
fmincon help
1 次查看(过去 30 天)
显示 更早的评论
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?
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Nonlinear Optimization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!