how aggregate duraration and sum it in timetable
11 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
it's a timetable and i want to sum all duration equal:
example:
04/01/2010 2202 1.23
05/01/2010 2202 1.26
......
i want this:
duration value
22:02 2.49 (1.23+1.26)
0 commentaires
Réponse acceptée
the cyclist
le 27 Mai 2024
Modifié(e) : the cyclist
le 27 Mai 2024
Here is one way:
load("matlab_tt2")
TT2.timeOfDay = timeofday(TT2.datt);
equalDurationSum = groupsummary(TT2,"timeOfDay","sum")
0 commentaires
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!