samer@4: % row - returns selected rows of a 2D array samer@4: % row :: [[N,M]->A], [[L]->[N]] -> [[L,M]->A]. samer@4: function Y=row(X,I), Y=X(I,:);