dickreuter
Posts:
56
From:
London
Registered:
10/18/08


Equations of a Straight Line with multiple points
Posted:
Dec 6, 2012 11:26 AM


I'd like to create a formula that create multiple straight lines. It all has to be in one single formula. For example:
p1(0,0) p2(1,4) p3(2,9) p4(5,9)
The slope should always be 0 and at any given point the y value should jump to the y value.
Is this possible at all? If not, would it be possible if I just do a linear interpolation. If so, how can I get the correct formula?
thanks

