MATLAB: How to know the column numbers of a matrix which contains values less than 50. indexmatrixminimum valuethreshold I want to know the column numbers of a matrix which contains values less than 50. how to do this??? Best Answer Let A be your row matrix.idx = A<50 ; idx = find(idx) Related SolutionsMATLAB: How to store values of rows in a matrix where the 3rd column is a multiple of 100 Use can use rem() to filter the rows where the third column is multiple of 100 and then use logical indexingM; % nx3 matrixidx = rem(M(:,3),100)==0;M_new = M(idx, :); MATLAB: How to reduce rows to column Use the reshape (link) function. Related QuestionSelecting the last 60 rows in a matrix with an uncertain number of rowsDisplaying all elements of a matrix less than -50Selecting specific criteria in one column that is part of a matrixGreater than and less thanTake the array which is less than 3
Best Answer