Bin data into time bins
7 views (last 30 days)
Show older comments
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.
0 Comments
Accepted Answer
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.
0 Comments
More Answers (0)
See Also
Categories
Find more on Data Distribution Plots 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!