Align various discontinous data sets into a chronological ordered matrix

조회 수: 1 (최근 30일)
puccapearl
puccapearl 2024년 4월 22일
편집: puccapearl 2024년 4월 22일
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!

답변 (1개)

Taylor
Taylor 2024년 4월 22일
Have you looked into timetables? Seems doable with the synchronize function.

카테고리

Help CenterFile Exchange에서 Data Distribution Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by