title: Matlab find indexes of x min values in column
body: <p>I there any build function in Matlab which would find in column indexes of x(parameter) min values?</p>
  
  <p>For example:</p>
  
  <pre><code>a = [1; 2; 3; 4; 0; 5]
  someFindFunction(a, 2)
  ans = [5, 1]
  someFindFunction(a, 1)
  ans = [5]
  someFindFunction(a, 3)
  ans = [5, 1, 2]
  </code></pre>