count every ten seconds

3 vues (au cours des 30 derniers jours)
grace khashman
grace khashman le 3 Sep 2021
Modifié(e) : Stephen23 le 4 Sep 2021
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 commentaires
Image Analyst
Image Analyst le 3 Sep 2021
OK but once again, youi forgot to attach your data. You may get no answers at all until that happens.
grace khashman
grace khashman le 3 Sep 2021
Modifié(e) : Stephen23 le 4 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.

Connectez-vous pour commenter.

Réponse acceptée

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

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by