Time approximation in matlab

I collected 1500data during 24hours in my research. How can I know the number of data i recorded in 1hour?

Answers (1)

If the sampling interval was constant:
SamplesPerHour = 1500/24
SamplesPerHour = 62.5000
Otherwise, you could use the retime funciton with the interval being 'hourly' and the aggregation method being 'count'.

Asked:

on 31 Oct 2022

Answered:

on 31 Oct 2022

Community Treasure Hunt

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

Start Hunting!