count every ten seconds

4 views (last 30 days)
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 ?
grace khashman
grace khashman on 3 Sep 2021
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.

Sign in to comment.

Accepted Answer

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

More Answers (0)


Community Treasure Hunt

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

Start Hunting!