INTERP1

From Jacket Wiki

Jump to: navigation, search
Back to Function List

1-D data interpolation (table lookup)

Usage

Jacket for M Language
    Supported Syntax
    
yi = interp1(Y,xi)
yi = interp1(Y,xi,method,extrapval)*
yi = interp1(Y,xi,method)*
yi = interp1(x,Y,xi)*
yi = interp1(x,Y,xi,method)*
yi = interp1(x,Y,xi,method,extrapval)*
    

GFOR Supported

No

GCOMPILE Supported

No

Types Supported

-  GDOUBLE   GSINGLE   GLOGICAL   GINT32   INT8   GUINT32   GUINT8   COMPLEX 

Types Not Supported

-

CPU usageJacket only contains GPU computing functions. To run functions on the CPU, try one of the MathWorks products:
http://www.mathworks.com/access/helpdesk/help/techdoc/ref/interp1.html
More Details
  • METHOD must be linear
  • EXTRAPVAL must be a scalar
  • x needs to be non decreasing and uniformly spaced


See Also

INTERP1Q, INTERPFT, INTERP2, INTERP3, INTERPN, PCHIP, SPLINE

Personal tools