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.
Bin data into time bins
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!