CELL to Matrix (Time/Date data)

1 visualización (últimos 30 días)
G
G el 15 de Jun. de 2016
Comentada: G el 15 de Jun. de 2016
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!

Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 15 de Jun. de 2016
load cell2date
out=regexp(c,'\d+:\d+','match','once')
  3 comentarios
Azzi Abdelmalek
Azzi Abdelmalek el 15 de Jun. de 2016
Editada: Azzi Abdelmalek el 15 de Jun. de 2016
you can use datevec
out=datevec(c,'yyyy-mm-dd HH:MM:SS')
G
G el 15 de Jun. de 2016
thank you Azzi!!!!
is what i need
kind regards

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Dates and Time en Help Center y File Exchange.

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by