count every ten seconds

15 次查看(过去 30 天)
Hello im trying to sumup every ten seconds
i have cloumn (11) which contains date and time and im trynig to write in cloumn (12) which ten seconds are they
such as the first ten seconds are number one
the second ten seconds are number two
which code do i have to write ?
  4 个评论
Image Analyst
Image Analyst 2021-9-3
OK but once again, youi forgot to attach your data. You may get no answers at all until that happens.
grace khashman
grace khashman 2021-9-3
编辑:Stephen23 2021-9-4
here's my data im trying to sort every ten seconds in cloumn 10 into new one in cloumn 11
in other words im trying to use a fore loop that can sort the first ten seconds into a new variable that will apear in cloumn 11 as 1
the second ten seconds is number 2 and like that..... til 71658.

请先登录,再进行评论。

采纳的回答

Walter Roberson
Walter Roberson 2021-9-3
Hello im trying to sumup every ten seconds
Convert to timetable() objects and use retime()

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Repeated Measures and MANOVA 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by