how to divide the range of an histogram
2 次查看(过去 30 天)
显示 更早的评论
for example: I form histogram using atan function and its range is between [-pi/2, +pi/2]
now the question says to divide this histogram in 6 ranges i.e [-pi/2, -pi/3], [-pi/3,-pi/6].... [pi/6,pi/2]
i.e the main histogram is to be divided into 6 sub histogram using above ranges .
1 个评论
José-Luis
2016-7-5
Integrate over the sub-intervals and divide by the interval width should give the average value for atan over that interval. That seems to be what you want.
回答(1 个)
Steven Lord
2016-7-5
If you're using the histogram object, I think you just want to change the BinEdges property.
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!