Gettind the indexes of table array with time and data according to datetime vector with time. Or how to syncronize datetime vector with table array
Mostrar comentarios más antiguos
Hi
I am very confused by datetime vector in Matlab and can not understand completely how I can solve my problem:
I have datetime vector with time:
and I have a table array with time and corresponding data: 

I need to get a vector of indixes of the table array which correspond to time from datetime vector. For example to get smth like this (If you do manually):

I tried to transform datetime array to a timetable and the use syncronize function but I didnot manage to do it. Tried to use find function but stil does not work.
Thank you!
These two arrays are attached
2 comentarios
dpb
el 18 de Jul. de 2019
I don't follow how the second vector is supposed to be related to the first???
What, specifically, are you trying to do?
Yurii Iotov
el 18 de Jul. de 2019
Respuesta aceptada
Más respuestas (1)
Yurii Iotov
el 18 de Jul. de 2019
Editada: Yurii Iotov
el 18 de Jul. de 2019
Categorías
Más información sobre Dates and Time en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!