フィルターのクリア

hi, I want to split my data set into different series lets say its from 2.0 to 2.99 I want to make intervals like 2.00 - 2.199, 2.2-2299, 2.3-2.3999 and then would like to to count the number of values for each interval.

1 回表示 (過去 30 日間)
hi, I want to split my data set into different series lets say its from 2.0 to 2.99 I want to make intervals like 2.00 - 2.199, 2.2-2299, 2.3-2.3999 and then would like to to count the number of values for each interval.
Next would be to write a loop to measure the value Cumulative Total Above Lower value in Ranges
Please help

採用された回答

Star Strider
Star Strider 2014 年 6 月 6 日
It is called a histogram count. There are several MATLAB functions that can do the counting with your data and your bin ranges as input. The histc function is closest to what you want to do.
I have no idea what you mean by ‘measure the value Cumulative Total Above Lower value in Ranges’, so please describe what you want to do in a bit more detail.
  7 件のコメント

サインインしてコメントする。

その他の回答 (1 件)

Image Analyst
Image Analyst 2014 年 6 月 6 日
Try this:
values = [...
2.745
2.422
2.876
2.477
2.440
2.674
2.600
2.450
2.630
2.439
2.432
2.483]
edges = 2 : 0.1 : 3
counts = histc(values, edges)
cdf = cumsum(counts)'
backwardsCDF = fliplr(cdf)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by