If Array Not Empty Matlab Plot Function Not Working