How to count the given data range and calculate cumulative sum of given data and plot it?

1 回表示 (過去 30 日間)
sam moor
sam moor 2017 年 2 月 28 日
コメント済み: sam moor 2017 年 3 月 1 日
I have excel data as shown below. I want to have a range of sf like 0-0.05,0.05-0.1, 0.1-0.15,0.15-0.2....and so on. Now, 2nd column of data represents number that have corresponding sf. I want to count the number and do cumulative that falls within the range of sf(as above) like 0 to 0.05, 0.05-0.1,...and so on and would like to put in array. Finally, I want to plot sf(0,0.05,0.1,0.15...) vs num(cumulative sum). Let me know your suggestion. I used count function but giving me error. Thank you.
  4 件のコメント
Jan
Jan 2017 年 3 月 1 日
Post your code and the error message to allow to suggest an improvement.
sam moor
sam moor 2017 年 3 月 1 日
Here is the attached data.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeData Import from MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by