Time approximation in matlab

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

回答(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'.

类别

在 帮助中心 和 File Exchange 中查找有关 Dynamic System Models 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by