Navigation

Operators and Keywords

Function List:

C++ API

interp1.m File Reference


Functions

 if (nargin > 2) for i
 if (ischar(arg)) arg
 if (strcmp("extrap", arg)) extrap
 elseif (strcmp("pp", arg)) pp
endif else if (firstnumeric) xi
 if (isvector(y)&&size(y, 1)==1) y

Variables

function yi
endif method = "linear"
 extrap = NA
 xi = []
 pp = false
 firstnumeric = true
endif endif endfor endif x = x(:)
 nx = size (x, 1)
endif ndy = ndims (y)
 szy = size (y)
 ny = szy(1)
 nc = prod (szy(2:end))
 y = reshape (y, ny, nc)
 szx = size (xi)

Function Documentation

elseif ( strcmp("pp", arg)   ) 

if ( isvector(y)&&size(y, 1)  = =1  ) 

endif else if ( firstnumeric   ) 

if ( strcmp("extrap", arg)   ) 

if ( ischar(arg)   ) 

if ( nargin  ,
 
)


Variable Documentation

else extrap = NA

firstnumeric = true

endif method = "linear"

nc = prod (szy(2:end))

endif ndy = ndims (y)

nx = size (x, 1)

ny = szy(1)

pp = false

szx = size (xi)

else szy = size (y)

endif endif endfor endif x = x(:)

xi = []

y = reshape (y, ny, nc)

Initial value:

 interp1 (x, y, varargin)

  if (nargin < 3 || nargin > 6)
    print_usage ()