submatrix

B = A(ind) with size as A if possible

Syntax

B = submatrix(A,ind)