Check If Number In Array Matlab Plot Function Not Working