INTERP2

From Jacket Wiki

Jump to: navigation, search
Back to Function List

2-D data interpolation (table lookup)

Usage

Jacket for M Language
    Supported Syntax
    
ZI = interp2(Z,XI,YI)
ZI = interp2(Z,ntimes)
ZI = interp2(Z)
ZI = interp2(..., method) % where method={linear,nearest}
ZI = interp2(..., method, extrapval) % where extrapval=CPU scalar
    

GFOR Supported

Yes

GCOMPILE Supported

No

Types Supported

-  GSINGLE   GUINT8   COMPLEX 

Types Not Supported

-  GDOUBLE   GLOGICAL   GINT32   INT8   GUINT32 

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
  • ntimes must be a CPU integer scalar
  • Only INTERP2(Z,XI,YI) supports GFOR (not INTERP2(Z,ntimes))


See Also

GRIDDATA, INTERP1, INTERP1Q, INTERP3, INTERPN, MESHGRID

Personal tools