FUNCTION REFERENCE

makima

Modified Akima one-dimensional interpolation.

Modified Akima one-dimensional interpolation.

Syntax

vq = makima(x, y, xq)

Syntax

pp = makima(x, y)

Uses modified Akima slopes and extrapolates with the end polynomial. For matrix y, samples are along the last dimension (each row is one component of the piecewise polynomial). With two inputs the result is the piecewise polynomial structure for ppval.

Example

makima([0 1 2], [0 1 4], 1.5)   % 2.25

Example

pp = makima([0 1 2], [0 1 4]); ppval(pp, 1.5)   % 2.25

Differences from MATLAB: y with more than two dimensions is not supported.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.