See the histcounts or histcounts2 functions or the Values, BinEdges, XBinEdges, or YBinEdges properties of the graphics objects created by histogram or histogram2. [The histogram object has BinEdges, histogram2 has XBinEdges and YBinEdges.]
Histogram Data for mXn data matrix
2 次查看(过去 30 天)
显示 更早的评论
I have an nxn array for which I can easily draw a histogram, but if I want to perform further statistics on the data I need to know for example how mnay vaues in the 2D array lie in a multiple specified ranges. How can I do this? This is bascially equivalent to simplifying the 2D matrix into a smaller "histogram" matrix with the number of elements within each range as y and the centerpoint of that range as x.
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Distribution Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!