ppval
Evaluate piecewise polynomial
Syntax
v = ppval(pp,xq)
Description
evaluates the piecewise polynomial v
= ppval(pp
,xq
)pp
at the query points xq
.
评估查询点xq处的分段多项式pp。v
= ppval(pp
,xq
)
Create Piecewise Polynomial with Polynomials of Several Degrees
Create a piecewise polynomial that has a cubic polynomial in the interval [0,4], a quadratic polynomial in the interval [4,10], and a quartic polynomial in the interval [10,15].
创建在区间[0,4]中具有三次多项式的分段多项式,