Piecewise two-point cubic hermite interpolation, uses data and data’s derivative with independent variable to get result.
软件应用简介

Piecewise two-point cubic hermite interpolation, return the interpolation result and interpolation index. The input and output data structure is the same as MATLAB function vq = interp1(x,v,xq),and call-for rules are similar.
分段两点三次hermite插值,返回插值结果与插值index. 函数的数据结构与MATLAB插值函数interp1完全一样,调用规则对应。
[ rMat , ptr2 ] = hermite3seg ( tVec , xMat , xpMat , t , ptr )
returns interpolated values of a 1-D function x(t), at specific query points using piecewise cubic hermite interpolation.
INPUTS:
Vector tVec contains the sample points, it the independend variable;
xMat: contains the corresponding values in matrix form, xMat(tVec), it’s the dependent variable; xpMat: contains the time derivative values of dependent variable x in matrix form, xMat'(tVec).
Vector t: contains the coordinates of the query points.
Another optional variable ptr is the beginning search index on tVec.
OUTPUTS:
rMat:a matrix containing variable x as a function of t
Output also ending search index on tVec, so as to run faster for use next time.
界面展示

结果示意

规格 价
0元试用 |
---|
0.0元人民币/月 |
声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!