How to bin a large amount of data
조회 수: 3 (최근 30일)
Abhiram Bhanuprakash 2015년 6월 22일
From what I understand, I think you are looking to create a two-dimensional (bivariate) histogram in MATLAB.
There is a function hist3 using which you can control the binning -> documentation here
But you would need to have Statistics and Machine Learning Toolbox in MATLAB R2015a (Statistics Toolbox in older releases) for this.
If you want to do it without Statistics Toolbox, you can go for a little trick as described here or you can also try out a MATLAB Central File Exchange Submission called 2-Dimensional Histogram --> link to this page here
Hope this helps,