count every ten seconds

9 visualizzazioni (ultimi 30 giorni)
grace khashman
grace khashman il 3 Set 2021
Modificato: Stephen23 il 4 Set 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 Commenti
Image Analyst
Image Analyst il 3 Set 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 il 3 Set 2021
Modificato: Stephen23 il 4 Set 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.

Accedi per commentare.

Risposta accettata

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

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by