title: Find max indices in octave
body: <p>I have nx4 matrix. I need to find max value and it's index. I use 
      <code>[mVal,mInd]=max(A,[],2)</code>
  When a row contains same value more than once and it is the max value I need to find all indices of the row. </p>
  
  <p>Example: Say <code>A(10,:)</code> is <code>[-1.2 1.6 1.6 1.6]</code> I need to return 2,3,4 as indices.</p>