Rank: 8407 based on 4 downloads (last 30 days) and 1 file submitted
photo

Paulo Coelho

E-mail

Personal Profile:

 

Watch this Author's files

 

Files Posted by Paulo Coelho
Updated   File Tags Downloads
(last 30 days)
Comments Rating
19 Oct 2012 COUNT_MATRIX_ELEMS Obtains unique row elements from MxN matrix A and counts the number of occurrences. Author: Paulo Coelho image processing, mathematics, data exploration, matrix 4 1
Comments and Ratings on Paulo Coelho 's Files
Updated File Comment by Comments Rating
22 Oct 2012 COUNT_MATRIX_ELEMS Obtains unique row elements from MxN matrix A and counts the number of occurrences. Author: Paulo Coelho Jan Simon

I'd prefer HISTC to count the occurences. But your approach "numel(find(j == a))" can be accelerated as "sum(j == a)".

The documentation of your code is excellent: H1 line, help text, input, output, example, date and name of the author, comment lines.

Contact us