help plot the inequality

2 views (last 30 days)
CESAR LOPEZ
CESAR LOPEZ on 15 Feb 2019
Answered: Star Strider on 15 Feb 2019
Is there a way i can create a inequality for this function
syms a b
%b=k2 a =k1
X = ((11+b)*(121+a)-(a+a*b+110*b+210))/(11+b);
simplify(X)
Z = ((X*(a+a*b+110*b+210)-(11*a+100)*(11+b))/X)
simplifyFraction(Z);
simplify(Z)
  2 Comments
madhan ravi
madhan ravi on 15 Feb 2019
what inequality do you want to imply?
CESAR LOPEZ
CESAR LOPEZ on 15 Feb 2019
im sorry,
make x and z greather than zero

Sign in to comment.

Answers (1)

Star Strider
Star Strider on 15 Feb 2019
Straightforward:
syms a b X Z
assume(X > 0)
assume(Z > 0)
It does not appear to have any effect on the rest of your posted code.

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!