Data binning and frequency of data
Show older comments
I am having a data for example X [56 65 59 98 97 35 54 42].I want to find how many of these data points falls in a given bin range.I also have to generate bin ranges from the data X.
Bin Frequency
- 50-55 ..... 0 % no data fall in this range
- 55-60 ..... 3 % three points fall in this range
- 60-65 ..... 1
- 65-70 ..... 0.....Please help me how to do this in Matlab?
Accepted Answer
More Answers (1)
Image Analyst
on 18 Aug 2013
0 votes
The histc() function is made for this exact purpose.
Categories
Find more on Descriptive Statistics and Visualization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!