[Master Index]
[Index for .]
ilinear
Function Synopsis
F=ilinear(x,y,u)
Help text
ILINEAR Linear Interpolation of a 1-D function.
F=ILINEAR(Y,XI) returns the value of the 1-D function Y at the
points XI using linear interpolation. length(F)=length(XI). XI is
an index into the vector Y. Y is the value of the function
evaluated uniformly on a interval. If Y is a matrix, then
the interpolation is performed for each column of Y in which
case F is length(XI)-by-size(Y,2).
If Y is of length N then XI must contain values between 1 and N.
The value NaN is returned if this is not the case.
F = ILINEAR(X,Y,XI) uses the vector X to specify the coordinates
of the underlying interval. X must be equally spaced and
monotonic. NaN's are returned for values of XI outside the
coordinates in X.
See also ICUBIC, INTERP1.
Cross-Reference Information
This function is called by
Produced by mat2html on Thu Oct 9 14:13:05 1997
Cross-Directory links are: OFF