Number of duplicates and related questions

August 2016 Heikki.Apiola'at'aalto.fi

Blogin etusivu
Mattie-etusivu

Omia oppaita:
Matlab miniopas
Lyhyt Matlab opas
"YAGTOM" muokattu ja osin suometettu

Mathworks:
MATLAB Tutorials
Matlab Central: Blogs


Counting occurrencies of each element in a vector

I came up to such questions when working on the

Hardy-Ramanjan problem

After my way of counting using sort and diff presented above, I found this discussion with variuos interesting solutions to related problems.

In the present "publish-worksheet" I study and run through many of them for my own learnig and joy.