i have a matrix a=[1 1 0 1;1 1 0 0;0 0 1 1] i want row indices for each column having non zero elements as [1,2] [1,2] [3] [1,3]
MATLAB: I want to find row indices for each column having non zero values
row indices for each column having non zero values
Related Question
- Sort rows based on number of 1’s in each row.
- How to find Place on non zero values in matrix
- How to find which rows are identical in a matrix
- How can i seperate columns by comparing the values of first row
- Is there a function that calculates the no. of rows or cols
- How to sort out the matrix based on 1st column
Best Answer