I've got a 20x65536 matrix M
filled with integers of the range [0,14].
For each column of M
I want to create a histogram with 14 bins. In total, I would have 65536 histograms.
Afterward, I would like to combine all of these histograms into one 3d-like histogram, with the x-axis being the 15 bins, the y-axis the 65536 histogram indices and the z-axis the number of the occurences of the corresponding bin.