Finding the Y values corresponding to histogram center
4 次查看(过去 30 天)
显示 更早的评论
Hi, I'm using the function [counts,centers] = hist(xxx,100) for histogram plot. Here centers gives the center value of each bin on X axis but I want its corresponding Y value. How can I find the Y value of each bin center of histogram ?
0 个评论
回答(2 个)
Walter Roberson
2016-7-4
The Y value will be the counts value corresponding to the center you are interested in.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Histograms 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!