title: Count occurrences on a array using MATLAB
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/5385651/determining-the-number-of-occurrences-of-each-unique-element-in-a-vector">Determining the number of occurrences of each unique element in a vector</a>  </p>
  </blockquote>
  
  
  
  <p>I've the following array:</p>
  
  <pre><code>v = [ 1 5 1 6 7 1 5 5 1 1]
  </code></pre>
  
  <p>And I need to count the values and show the number that has more appearances.
  <br>From the example on the top, the solution would be 1 (there are five 1's)</p>
  
  <p>Thanks in advance</p>