Bin data into time bins

7 views (last 30 days)
krysten spencer
krysten spencer on 24 Jun 2018
Answered: Steven Lord on 24 Jun 2018
I have a huge set of numbers that looks like this:
38
53
27
0
49
0
44
82
32
74
119
50
69
98
88
113
120
89
53
and so on, I would like to bin this data into 10 second time bins (it is currently representing every 100 milliseconds) any help would be greatly appreciated.

Accepted Answer

Steven Lord
Steven Lord on 24 Jun 2018
Use histcounts or histogram depending on whether you just need information about how many are in each bin or if you also need to see that data graphically.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!