1. 程式人生 > >【 MATLAB 】mkpp 函式介紹

【 MATLAB 】mkpp 函式介紹

mkpp

Make piecewise polynomial

Syntax

pp = mkpp(breaks,coefs)

pp = mkpp(breaks,coefs,d)

Description

pp = mkpp(breaks,coefs) builds a piecewise polynomial pp from its breaks and coefficients. Use ppval to evaluate the piecewise polynomial at specific points, or unmkpp to extract details about the piecewise polynomial.

pp = mkpp(breaks,coefs,d) specifies that the piecewise polynomial is vector-valued, such that the value of each of its coefficients is a vector of length d.