Linterp

Linterp - Does linterp always 'project' beyond values - Сообщения

#1 Опубликовано: 19.03.2016 23:16:36
Ryan Freund

Ryan Freund

19 сообщений из 339 понравились пользователям.

Группа: User

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!!
#2 Опубликовано: 20.03.2016 01:19:13
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

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


  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений