Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.


Alex
Posts:
14
Registered:
12/18/13


Union of solutions
Posted:
Jan 24, 2014 1:00 PM


Hello,
I need to build a script in which i have to calculate the union solutions for some equations.
For example:
18  Kp > 0 6Kp + 72 > 0
In matlab code:
>> syms kp >> solve('18kp>0') ans = Dom::Interval(Inf, 18) >> solve('6*kp+72>0') ans = Dom::Interval(12, Inf)
I know that the union of the solution is (12, 18) but how do i write in matlab? Thank you!



