I am trying to get the answer for the following inequality equation: (x-1)*(x-2)*(x-3)*(x-4)>0. Here is the code that I have used:
syms x
eqn = (x-1)*(x-2)*(x-3)*(x-4)> 0;
S = solve(eqn, x)
But I am getting the answer as:
S =
Empty sym: 0-by-1
Please somebody help me to get the answer in a proper manner.
I am using MATLAB R2016a
Best Answer