How to simplify inequalities

I want to simplify linear equalities (in two variables) in mupad. For example, how can I simplify
c1 := b<=a and a<=0 and 0<=2*a+b+1 and 0<=a+b+1
The last inequality in this condition is superfluous. How can I bring mupad to simplify c1 to
c2 := b<=a and a<=0 and 0<=2*a+b+1 ?

More Answers (1)

Achim Clausing
Achim Clausing on 9 Jul 2020
I guess this is what I am looking for. Unfortunately, I know little of Matlab. I do everything in Mupad.
Thanks anyway!

Community Treasure Hunt

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

Start Hunting!