% Return TRUE if x is odd, FALSE if it's even
function bool = Odd(x)

bool = mod(x,2);