Function Reference
— Function File: yi = interp1q (x, y, xi)

One-dimensional linear interpolation without error checking. Interpolates y, defined at the points x, at the points xi. The sample points x must be a strictly monotonically increasing column vector. If y is an array, treat the columns of y separately. If y is a vector, it must be a column vector of the same length as x.

Values of xi beyond the endpoints of the interpolation result in NA being returned.

Note that the error checking is only a significant portion of the execution time of this interp1 if the size of the input arguments is relatively small. Therefore, the benefit of using interp1q is relatively small.

See also: interp1