How to concatenate two or more linear interpolants? Answered
I have a graph, it is not a straight line but a random curve, I want to do linear interpolation of different data set points. I read it here:
And it says that:
"Linear interpolation on a set of data points (x0, y0), (x1, y1), ..., (xn, yn) is defined as the concatenation of linear interpolants between each pair of data points."
So. how can I concatenate two or more linear interpolants?
And can you please also give an example of it?