how to divide the range of an histogram

3 ビュー (過去 30 日間)
Manish Sharma
Manish Sharma 2016 年 7 月 5 日
回答済み: Steven Lord 2016 年 7 月 5 日
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
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
Steven Lord 2016 年 7 月 5 日
If you're using the histogram object, I think you just want to change the BinEdges property.

カテゴリ

Help Center および File ExchangeHistograms についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by