【 MATLAB 】unmkpp 函数介绍
unmkpp
Extract piecewise polynomial details
提取分段多项式细节
Syntax
[breaks,coefs,L,order,dim] = unmkpp(pp)
Unwrap Piecewise Polynomial Information
Create a piecewise polynomial structure for the polynomial on the interval [0 3], and then extract the information from the fields of the structure.
pp = mkpp([0 3],[1 1 1])
[breaks,coefs,L,order,dim] = unmkpp(pp)
Input Arguments
pp
— Piecewise polynomial
structure
Piecewise polynomial, specified as a structure. You can create pp
using spline
, pchip
, interp1
, or the spline utility function mkpp
.
Output Arguments
breaks
— Break points
vector
Break points, returned as a vector of length L+1
with strictly increasing elements that represent the start and end of each of L
intervals.
coefs
— Polynomial coefficients
matrix
Polynomial coefficients, returned as an L
-by-k
matrix with each row coefs(i,:)
containing the local coefficients of an order k
polynomial on the ith interval, [breaks(i),breaks(i+1)]
.
L
— Number of intervals
scalar
Number of intervals, returned as a scalar.
order
— Order of polynomials
scalar
Order of polynomials, returned as a scalar.
dim
— Dimension of target
scalar | vector
Dimension of target, returned as a scalar or vector.
文章来源: reborn.blog.csdn.net,作者:李锐博恩,版权归原作者所有,如需转载,请联系作者。
原文链接:reborn.blog.csdn.net/article/details/83421971
- 点赞
- 收藏
- 关注作者
评论(0)