Hello, I have an mxn array of numbers (integers or decimal numbers). I can use hist function separately for each column to find out frequency of each elements, for example: hist on each column gives output like 10 1's, 15 2's 25 7's in column 1; 25 2's, 25 3's in column 2; etc. Now I want to plot the histograms in a 3D plot, so that x axis = m, y axis = n, z axis = frequency of each element.
It seems very plain and simple, but somehow I am really struggling with this. Any help is greatly appreciated. Thanks for your time.
1 Comment
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/263569-how-can-i-plot-the-column-wise-frequency-of-different-elements-for-an-mxn-array#comment_334978
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/263569-how-can-i-plot-the-column-wise-frequency-of-different-elements-for-an-mxn-array#comment_334978
Sign in to comment.