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
古いコメントを表示
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 件のコメント
dpb
2019 年 7 月 18 日
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
2019 年 7 月 18 日
採用された回答
その他の回答 (1 件)
Yurii Iotov
2019 年 7 月 18 日
編集済み: Yurii Iotov
2019 年 7 月 18 日
カテゴリ
ヘルプ センター および File Exchange で Dates and Time についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!