Match data by date

6 views (last 30 days)
Karoline Qasem
Karoline Qasem on 23 Nov 2016
Commented: Sean de Wolski on 28 Nov 2016
Hi,
I have two 15 years datasets. the first one looks like this: [Date time Xvalue]
the second one looks like this: [Date time Yvalue]
I want to create a new matrix out of the two like this: [Date time Y X]
the problem is that one of them is hourly data and the other one is every 15 min, and the other thing is that they have gaps, so for some hours there is missing Y value or missing X value I want them to be in hourly periods
Any help please?

Accepted Answer

Sean de Wolski
Sean de Wolski on 23 Nov 2016
Edited: Sean de Wolski on 23 Nov 2016
This is the exact purpose to timetable in R2016b. You'll build two timetables, and synchronize them.
  3 Comments
Karoline Qasem
Karoline Qasem on 23 Nov 2016
Edited: Karoline Qasem on 23 Nov 2016
I am in academic matlab license, it said undefined function timetable? and it is 2016a
Sean de Wolski
Sean de Wolski on 28 Nov 2016
Talk to your IT department or MATLAB administrator about upgrading to the most recent release.

Sign in to comment.

More Answers (0)

Categories

Find more on Dates and Time in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!