MATLAB: Find entire rows in a matrix where a column value meets a certain condition
findmatrix
I have a matrix (4columns, ~50000 rows) and I want a new matrix that will only return the (entire) rows (values, not row number) where column 4 = 101300 (to 4s.f).
Tip: with MATLAB it is always important to think in terms of operating on arrays: putting all of the conditions into one array makes it easier to use MATLAB.
Best Answer