function bool = checkEven(num) bool = ~rem(num,2);