Find dates within date vector using master dates as reference

Hi,
please have a look into the attached files. I like to use the date vector in column 1 as master date:
This should be the expected output:
[26.11.1990,49.65,8.810,NaN,NaN,NaN,NaN,NaN]
.
.
.
[01.06.2020,171.65,-0.402,-0.4327,-0.103,-0.325,477,164]
How to organize that?
Certainly I can get the desired result using a for loop, but I am convinced that this can be solved smarter!
Best,
PR

回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Dates and Time 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by