This function allows to select a subensemble from a matrix of any dimensions, providing the dimension along which the user aims at cutting the input matrix and between which indices.
Usage
SelIndices(var, posdim, limits)
Arguments
var
A matrix of any dimensions.
posdim
The dimension along which a submatrix should be selected.
limits
The lower and upper indice of the selection along the posdim dimension.