Forum Discussion

Gregory Guthrie's avatar
Gregory Guthrie
Copper Contributor
Jul 01, 2023

linear interpolation of sparse data

I have several lists of data, each sampled at different varying intervals. I want to merge them into an average set of readings, but since they are each missing data and have readings at different times, I need to first fill-in all missing data using some (linear) interpolation.

For example; I want to merge all three months of data into one average month summary:

1-Mar0
3-Mar2
10-Mar8
14-Mar11
17-Mar14
21-Mar14
24-Mar19
28-Mar22
31-Mar33
1-Apr0
1-Apr0
7-Apr2
11-Apr2
18-Apr3
21-Apr9
25-Apr10
28-Apr14
30-Apr14
1-May0
5-May3
9-May4
12-May8
16-May9
23-May13
26-May16
30-May17
31-May18
1-Jun0
1-Jun0
6-Jun3
9-Jun7
13-Jun9
20-Jun15
23-Jun19
30-Jun22
No RepliesBe the first to reply

Resources