Angular Array Get Last Element Of Array Matlab