Matlab second to last element. Get all vector elements between different indices.