フィルターのクリア

How can I create a joint (2D) histogram of two equally-sized datasets?

1 回表示 (過去 30 日間)
Patrick
Patrick 2013 年 10 月 31 日
回答済み: Peter Perkins 2013 年 11 月 6 日
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!

採用された回答

sixwwwwww
sixwwwwww 2013 年 10 月 31 日
  1 件のコメント
Patrick
Patrick 2013 年 11 月 5 日
I found this link on my own before, but it didn't help because I hit a wall, and OP from that video didn't answer my question about it yet. Thanks anyway.

サインインしてコメントする。

その他の回答 (1 件)

Peter Perkins
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.

カテゴリ

Help Center および File ExchangeHistograms についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by