Skip to content

interp1q

general · scripts/general/interp1q.m

: yi = interp1q (x, y, xi)

Fast 1-D linear interpolation (MATLAB-compatible).

x must be monotonic increasing. Values of xi outside [x(1), x(end)] return NaN.

GitLab #215.