I have a data matrix, 2 columns and N rows. Lets call the columns x and y. I want all rows that meet teh following condition (X<25 and Y>30) to be nulled out of the original matrix and stored in a new matrix.
MATLAB: Filter a matrix of data
MATLABmatrix filter
Related Question
- How to obtain this format using either disp or fprintf??? Any basic instruction
- Hello, I have a matrix of order 1664 X 128. How to insert a column of zeros after every column. So that, every second column in the matrix is a zero column. So that new matrix will have order 1664 X 256?. Kindly help me out.
- Thresholding a value in matrix
- How to limit the number of row
- Applying a function row by row in a matrix
Best Answer