Filter löschen
Filter löschen

Align various discontinous data sets into a chronological ordered matrix

5 Ansichten (letzte 30 Tage)
puccapearl
puccapearl am 22 Apr. 2024
Bearbeitet: puccapearl am 22 Apr. 2024
I have four data sets (K,L,M,N) that look at Y-Axis over 24 hours in seconds given in 60 second time intervals ( time, Y-axis matrix), all with different matrix lengths from two different sections (two sets from each section (A or B))
The time in these data sets is not continuous.
I want to combine the data and align them in a chronological time vector that spans 1: 86400 (represents seconds in 24 hrs, given in 60 second increments, total length 1440)
Basically I want these data sets to align in time and to know from which data set the data came from (which V and section)
If two data sets align at the same time, I want to be able to choose which data set I'd prefer (to give preference to section A)
Any gaps in time when none of the data lines up with the time vector, I want those values to be 0
If there are two data sets that align in time, I would like to create a secondary matrix with the information
Any advice? Thanks!

Antworten (1)

Taylor
Taylor am 22 Apr. 2024
Have you looked into timetables? Seems doable with the synchronize function.

Community Treasure Hunt

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

Start Hunting!

Translated by