experience and innovation

Now Hiring!

-------------------------------------------------------------------------------
   Finds the number of unique numbers in x and how many times they appear.
-------------------------------------------------------------------------------
   Form:
   [y, n] = Occurences( x )
-------------------------------------------------------------------------------

   ------
   Inputs
   ------
   x              (n,m)  List

   -------
   Outputs
   -------
   y              (1,:)  Unique numbers
   n              (1,:)  Number of occurrences

-------------------------------------------------------------------------------