How to add hours:minutes in Matlab?
Mostrar comentarios más antiguos
Let's say I have hours:minute data in format HH:MM, and want to do statistics with it. I want to have the data in minutes for instance to be able to do t-tests. How to go about this in Matlab? Thanks!
Respuesta aceptada
Más respuestas (1)
KSSV
el 28 de En. de 2021
t='10:10';
[Y, M, D, H, MN, S] = datevec(t);
H*60+MN
1 comentario
Tahariet Sharon
el 28 de En. de 2021
Categorías
Más información sobre Functions en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!