dash.indices.fromLimits
Return all indices within sets of index limits
Syntax
Description
Returns the collections of indices that fall within given sets of index limits.
Input Arguments
limits
matrix, positive integers [nSets x 2]
The index limits of sets of elements within an overall collection.
Output Arguments
indices
cell vector [nSets] {vector, linear indices}
The full set of indices within each set of limits.