How can I create a joint (2D) histogram of two equally-sized datasets?
1 次查看(过去 30 天)
显示 更早的评论
I have two datasets with about 2.5 million doubles each. I want to create a 2D histogram to see data density. How can I do this? Bonus points if you can tell me how to change the bin widths as well. Thanks!
0 个评论
采纳的回答
更多回答(1 个)
Peter Perkins
2013-11-6
Patrick, if you have access to the Statistics Toolbox, you might look at the HIST3 function.
But with that much data, perhaps a traditional histogram is not the way to go. You might look at the smoothhist2d function on the File Exchange.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Histograms 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!