find a rows in matrix and its position in that matrix ?
1 view (last 30 days)
%I had a matrix of size(48*6) and then
ii = randperm(size(datasheet,1));
k = ones(24,1)*2;
out = mat2cell(datasheet(ii(1:sum(k)),:),k,size(datasheet,2));
%then i select a row from datasheet lets say 4th row
%now I want to find out the position of that 4th row in "out" matrix.