I have a 50×50 matrix and n that the last row has 0,1,2 at different locations ie., 0 n 10 rows,1 n 20 rows ad 2 in 20 rows, so depending on the column value how can i extract all rows containing 0 at 50th column and save them in to a single variable
MATLAB: Rows extraction in matrix depending on a column value
matrix manipulation
Related Question
- How to form a new matrix (i.e. B) from two different matrices (i.e. a1, a2) knowing the indices of its origional matrix (indices of a)
- Merge matrices by matching first column values in MATLAB
- How can i compare the elements of two matrices A(m*5) and B(n*5) in each row and see if they match
- Help running Matlab script
- Splitting a matrix into submatrices by value
Best Answer