unmkpp
提取分段多项式详细信息
说明
示例
输出参量
breaks
— 断点
向量
断点,以包含严格递增元素的长度为 L+1
的向量形式返回,这些元素表示各个 L
区间的开始和结束。
coefs
— 多项式系数
矩阵
多项式系数,以 L
×k
矩阵形式返回,其中每一行 coefs(i,:)
包含第 i 个区间 [breaks(i),breaks(i+1)]
上 k
次多项式的局部系数。
L
— 区间数
标量
区间数,以标量形式返回。
order
— 多项式的阶
标量
多项式的阶,以标量形式返回。
dim
— 目标的维度
标量 | 向量
目标的维度,以标量或向量形式返回。
扩展功能
C/C++ 代码生成
使用 MATLAB® Coder™ 生成 C 代码和 C++ 代码。
用法说明和限制:
pp
必须是由 MATLAB® 中的mkpp
、spline
或pchip
创建的或者由代码生成器创建的有效分段多项式结构体。代码生成不支持由 MATLAB 中的
interp1
创建的pp
结构体。
基于线程的环境
使用 MATLAB® backgroundPool
在后台运行代码或使用 Parallel Computing Toolbox™ ThreadPool
加快代码运行速度。
此函数完全支持基于线程的环境。有关详细信息,请参阅在基于线程的环境中运行 MATLAB 函数。
版本历史记录
在 R2006a 之前推出
MATLAB 命令
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)