FUNCTION REFERENCE

ppval

Evaluate a piecewise polynomial, extending the end pieces outside the breaks.

Evaluate a piecewise polynomial, extending the end pieces outside the breaks.

Syntax

Y = ppval(pp,X)

Example

ppval(mkpp([0 1 2], [1 0; 2 1]), [-1 3])   % [-1 5]

Differences from MATLAB: Accepts scalar pp structures with real coefficients.

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