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

Answers (0)

Categories

Tags

Asked:

on 2 Jun 2020

Community Treasure Hunt

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

Start Hunting!