Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
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!

Respuesta aceptada

sixwwwwww
sixwwwwww el 31 de Oct. de 2013
  1 comentario
Patrick
Patrick el 5 de Nov. de 2013
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.

Iniciar sesión para comentar.

Más respuestas (1)

Peter Perkins
Peter Perkins el 6 de Nov. de 2013
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.

Categorías

Más información sobre Histograms en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by