I have a row-vector with arbitrary values. I am interested in
- the column IDs of the columns which contain a value <= a specified threshold
- the number of columns which lie below the threshold.
Is there a more elegant way to compute this in MATLAB than using a for
-loop?