Matt J
Posts:
4,988
Registered:
11/28/09
|
|
Re: how to plot a function subject to constraints.
Posted:
Jan 7, 2013 11:52 AM
|
|
"Emrah " <superonline21@hotmail.com> wrote in message <kcesr9$t2e$1@newscl01ah.mathworks.com>... > > thank you very much. now, i cant get different results while i change the values of constants :) > > but it gave me a flat shape. is this because of the function? ==================
No, it's because of the 4th constraint
g(4)=0.10471*x(1)^2+0.04811*x(3)*x(4)*(14+x(2))-5.0;
which is equivalent to f(x)=5
|
|