help plot the inequality

1 次查看(过去 30 天)
CESAR LOPEZ
CESAR LOPEZ 2019-2-15
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 个评论
madhan ravi
madhan ravi 2019-2-15
what inequality do you want to imply?
CESAR LOPEZ
CESAR LOPEZ 2019-2-15
im sorry,
make x and z greather than zero

请先登录,再进行评论。

回答(1 个)

Star Strider
Star Strider 2019-2-15
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.

类别

Help CenterFile Exchange 中查找有关 Assumptions 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by