I thought linterp used to return the first and/or last value in the Y-vector when the x-value was beyond the first or last x-vector value. Did this change or am I just mistaken?
Is there a different function which will max/min out at the last value in the Y-vector?
Thanks!!
'linterp' interpolates between Xmin... Xmax.
Generaly, it is safe to extrapolate a bit, but you MUST FIRST
plot the data set to see what you are doing. Remember, all
that depends upon the data set and what it represents. If
the min or max are real min/max of the physics, better not
interpolate if you don't want to have a square moon in your bed !
You don't nedd a function that would not know what to do, is it ?
Jean