2D histogram via imagesc

1 visualización (últimos 30 días)
Claudia Scatigno
Claudia Scatigno el 18 de Oct. de 2018
I have an M = n x p matrix including zero and nonzero elements.
Starting from this matrix, I need to create an imagesc, which partitions the n dimension into N bins, p into P bins, and associates to each (n/N,p/P) 2D-bin the corresponding number of nonzero elements in this particular submatrix of M.
Any hint would be highly appreciated.

Respuestas (0)

Categorías

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

Community Treasure Hunt

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

Start Hunting!

Translated by