필터 지우기
필터 지우기

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 CenterFile Exchange에서 Histograms에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by