Index numbers, returned as a vector of positive integers.
For one-dimensional x
, ind
has the
same size as str
. For each relevant
k
,
x(ind(k)) = x(str(k))
For multidimensional x
, each ind
output has the same size, which is the size of the corresponding input
str
argument. For each relevant
k1
,…,kn
,
x(ind1(k1),...,indn(kn)) =
x(str1(k1),...,strn(kn))