Bash If Array Is Not Empty Matlab Tutorial Reinforcement