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