How to bin a large amount of data
显示 更早的评论
I have 10^5 x and y coordinates that form a single trajectory plot show below. My question is how do I efficiently bin this to create a density plot?

回答(1 个)
Abhiram Bhanuprakash
2015-6-22
1 个投票
Hi Akhil,
From what I understand, I think you are looking to create a two-dimensional (bivariate) histogram in MATLAB.
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,
Cheers!
Abhiram
类别
在 帮助中心 和 File Exchange 中查找有关 Noncentral t Distribution 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!