Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: how to plot a function subject to constraints.
Replies: 14   Last Post: Jan 7, 2013 1:15 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Emrah

Posts: 8
Registered: 12/30/12
Re: how to plot a function subject to constraints.
Posted: Jan 7, 2013 12:15 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

> 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


no, g(4) and f(x) are different from each-other
see:
fx=1.10471.*x1^2.*x2+0.04811.*x3.*x4.*(14+x2);
g4=0.10471.*x1^2+0.04811.*x3.*x4.*(14+x2)-5;



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.