Can I extrapolate beyond interpolation range in LinearInterpolation?

classic Classic list List threaded Threaded
1 message Options
v17
Reply | Threaded
Open this post in threaded view
|

Can I extrapolate beyond interpolation range in LinearInterpolation?

v17
Hello,

I am doing LinearInterpolation with x-vector being YearFrac and y vector as YTMs -

X-vector is {0.5,1,2,3,4,5,6,7,8,9,10,15)

Interpolation works fine for yearFrac range 0.5 to 15

However for yearfrac < 0.5 and > 15 it gives exception.

Is there any way to interpolate beyond range?