How to create a only a time vector starting 13:15:00 to 20:59:00 with 1 minute interval? R2016a
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
NS
el 11 de Dic. de 2018
Comentada: NS
el 12 de Dic. de 2018
I already have a DATE series and i need to create a time series wiith equally spaced 1 minute interval from 13:15:00 to 20:59:00 and attach it with DATE series. How to Create such time series and then attach them with DATE data.
0 comentarios
Respuesta aceptada
Chad Greene
el 11 de Dic. de 2018
This is a datetime for today, starting at 13:15 and going to 20:59, in 1 minute [1/(24*60)] intervals.
t = datetime(2018,12,11,13,15,0):1/(24*60):datetime(2018,12,11,20,59,0)
And to check:
>> t(2)-t(1)
ans =
duration
00:01:00
12 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Calendar en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!