MATLAB: What does X(sel,:) outputs

matrices

where X is matrix,sel is vector.

Best Answer

For instance, if sel is
sel=[1 2 3 4];
then, it outputs the 1st, 2nd, 3rd and 4th row in X matrix.
Related Question