% A little demo of what comparisons really mean
% Hint: it is not obvious
% Minas Spetsakis, Oct. 2017

if -2<x<2
    fprintf('x (%4.2f) is between -2 and 2\n', x)
else
    fprintf('x (%4.2f) is outside -2 and 2\n',x)
end
