title: Get vector of columns with highest values in matrix
body: <p>I'd like to be able to create a column vector whose values in each row correspond to the column in a matrix with the max value in that specific row.</p>
  
  <p>For example,
  If I have a matrix such as:</p>
  
  <pre><code>A = [1,5,2;3,1,1;0,1,0];
  </code></pre>
  
  <p>I'd end up with the matrix:</p>
  
  <pre><code>maxValueColumns = transpose([2,1,2]);
  </code></pre>
  
  <p>Is there an easy/efficient way to do this?</p>