Community Profile

photo

Jessica


Active since 2014

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


How do you find the index of the first true value in a logical vector?
I need to find the index of the first 1 in a logical vector. For example, I have a logical vector like this: V = [ 0 1 0 0 ...

9 years ago | 2 answers | 3

2

answers