I have a list of number, and i want to extract particular row from a list of row:
example:
% A = [1 2;
3 4; 5 6]B = [1; 3]
so C is the extracted matrix from A by row number in B
% C = [1 2;
5 6]
matlab function
% A = [1 2;
3 4; 5 6]B = [1; 3]
% C = [1 2;
5 6]
Best Answer