title: Find n minimum values in an array
body: <p>I am using Matlab 2012a.</p>
  
  <p>I have an array of k cells (say 1000). I need to find the 5 lowest values of this array and need to do an average of those values in X and Y.</p>
  
  <p>Anyone has an idea how to do that?</p>