title: Number of values greater than a threshold
body: <p>I have a matrix <code>A</code>. Now I want to find the number of elements greater than 5  and their corresponding indices. How to solve this in matlab without using for loop?</p>
  
  <p>For example if <code>A = [1 4 6 8 9 5 6 8 9]'</code>:<br></p>
  
  <ul>
  <li>Number of elements > 5: 6<br></li>
  <li>Indices: <code>[3 4 5 7 8 9]</code></li>
  </ul>