I am trying to determine when a signal is turning on and off. I have 5 signals. I have a nx5 logical of zeros and ones and I want to know when (i.e. position/row number) the signal is on (i.e. when signal=1). I can do this easily to find the first instance but I can't seem to find a function/conditional statement to find the second, third instances, etc.
MATLAB: Find position of when 0 goes to 1
findlogical?position;
Related Question
- Finding all rows in matrix matching rows in another matrix
- How to find the line number of a point in a vector
- Finding the position of a row vector in an array
- Subscript indices must either be real positive integers or logicals.
- Finding matches for a vector
- Finding series of repeating numbers in matrix
- Clusterization of data in 1-D vector
Best Answer