How To Use Boolean Variable Matlab