FUNCTION REFERENCE
griddedInterpolant
Handle object for one- and two-dimensional regular-grid interpolation.
Handle object for one- and two-dimensional regular-grid interpolation.
Syntax
F = griddedInterpolant(x, V)Syntax
F = griddedInterpolant(x1, x2, V, method, extrapolationMethod)Call F(xq) or F(xq1, xq2). An omitted ExtrapolationMethod defaults to Method. Linear and nearest are available in 2-D; GridVectors, Values, Method and ExtrapolationMethod are properties.
Example
F = griddedInterpolant([0 1], [0 2]); F(0.5) % 1Differences from MATLAB: 2-D uses ndgrid layout and supports linear/nearest only; GridVectors is read-only.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.