How to add hours:minutes in Matlab?
Mostra commenti meno recenti
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!
Risposta accettata
Più risposte (1)
KSSV
il 28 Gen 2021
t='10:10';
[Y, M, D, H, MN, S] = datevec(t);
H*60+MN
1 Commento
Tahariet Sharon
il 28 Gen 2021
Categorie
Scopri di più su Functions in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!