I have a list "{{x1,y1},{x2,y2},{x3,y3},{x4,y4},{x5,y5},....,{xn,yn}}"
and now want to modify it as below
"{{x1,y1},{(3x1+x2)/4,(3y1+y2)/4},{(x1+x2)/2,(y1+y2)/2},{(x1+3x2)/4,(y1+3y2)/4},{x2,y2},.....,{xn,yn}".
For example: {{1,2},{3,4},{5,6}}. I want this list to be modified as {{1,2},{1.5,2.5},{2,3},{2.5,3.5},{3,4},{3.5,4.5},{4,5},{4.5,5.5},{5,6}}.
Adding two more data points in between parent data points by averaging them. It helps to get more data points on the list. Please help.