how to divide the range of an histogram
조회 수: 1 (최근 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!