2D histogram via imagesc

1 次查看(过去 30 天)
Claudia Scatigno
Claudia Scatigno 2018-10-18
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.

回答(0 个)

类别

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