inequalities are best used with IF statements rather than switch; switch is useful for handling a variety of known values.
If you wanted to write it using a switch statement, it might be like this:
disp('n is less than 5')
disp('n is greater than 5')
But clearly this only works for values of n between 1 and 10.