I have different experimental observations and I want to plot only the average curve (in python). The main problem is that each observation can have different number of points.
Any help would be greatly appreciated. Simple example to elaborate the problem:
One observation: x1 = [0,1,2,3], y1 = [3, 2, 1, 0] => plot(x1,y1)
Second observation: x2 = [0, 2, 3], y2 = [3,1,0] => plot(x2,y2)
Now we need to plot average curve only.
I believe we need to find the curve/line for each observation and then take the average curve. But not sure how to do that. Please help!