Postgresql Get Last Element Of Array Matlab Documentation