CELL to Matrix (Time/Date data)
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Hi all,
Someone can tell me please how to convert this cells to matrix (dates) and split the date by hour and minute?
thank you!
0 Commenti
Risposta accettata
Azzi Abdelmalek
il 15 Giu 2016
load cell2date
out=regexp(c,'\d+:\d+','match','once')
3 Commenti
Azzi Abdelmalek
il 15 Giu 2016
Modificato: Azzi Abdelmalek
il 15 Giu 2016
you can use datevec
out=datevec(c,'yyyy-mm-dd HH:MM:SS')
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Dates and Time in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!