Is there any function that can approximate a two segmented linear regression? Suppose you have two linear regressions See here
$y=0.1760x+2.4305\ \left\{x<77.6615\right\}$
$y=0.3011x-7.2865\ \left\{x\ge77.6615\right\}$
What single/continuous function can approximate x vs y relationship here? A function with 3 unknown parameters is preferable since I have only 4 points to fit.
Note: Interpolation or piecewise regression is not desired.
Maybe you want to approximate this discontinuous function in the same way that one might try to approximate any singularity function? Such as a ramp function or unit step function. Anyway, in this case you would stick to Fourier analysis, and you could approximate the function as an infinite sum of sines and cosines.