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
Show older comments
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 Comments
dpb
on 18 Jul 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
on 18 Jul 2019
Accepted Answer
More Answers (1)
Yurii Iotov
on 18 Jul 2019
Edited: Yurii Iotov
on 18 Jul 2019
Categories
Find more on Data Type Identification in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!