How can I convert a time vector of HH:SS to a decimal?
Mostra commenti meno recenti
Risposta accettata
Più risposte (1)
v = datetime({'03:30', '04:45'}, 'InputFormat', 'HH:mm')
hour(v) + minute(v) / 60
Categorie
Scopri di più su Data Type Conversion 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!