If I have this matrix:
A=[1, 2; 4, 5; 6, 6]
How would I pull elements from the first column that are greater than 3 but save the corresponding elements in the second column to a new matrix? For reference, these columns have been abbreviated. The second column is time data, and the first is motion. I want to save the times when the motion data exceeded a set threshold.
Best Answer