I'm trying to cluster set of histograms. The histograms represent the frequencies of the distribution for a numbers from 1 to 5. The following figure shows two samples of my data.
I have 10,000 histograms with fixed number of bins (5) and I'm looking for a simple clustering algorithm implemented in MATLAB, C# or C++, that can take the histograms and cluster them.