Time approximation in matlab
Show older comments
I collected 1500data during 24hours in my research. How can I know the number of data i recorded in 1hour?
1 Comment
Chunru
on 31 Oct 2022
Can you show some sample data?
Answers (1)
If the sampling interval was constant:
SamplesPerHour = 1500/24
Otherwise, you could use the retime funciton with the interval being 'hourly' and the aggregation method being 'count'.
Categories
Find more on Splines 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!