I am using Matlab R2014a.
I need to find the answer to a set of inequalities and then use it in a script.
I used solve([eq1,eq2],x)
but the answer is a MuPad syntax so I can't change it to a double or float to use in other calculations.
Is there an alternative way to solve system of inequalities, or a way to extract information from Dom::Interval(x1,x2)?
syms x
eq1= x>0 ;
eq2= x<3 ;
solve([eq1,eq2],x)
Output is:
"Dom::Interval(0, 3)"
and unusable for scripts.
How do I solve the problem?