找回密码
 注册
查看: 447|回复: 0

R语言 signal包 pchip()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 02:10:30 | 显示全部楼层 |阅读模式
pchip(signal)
pchip()所属R语言包:signal

                                         Piecewise cubic hermite interpolation
                                         分段三次Hermite插值

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

Piecewise cubic hermite interpolation.
分段三次Hermite插值。


用法----------Usage----------


pchip(x, y, xi = NULL)



参数----------Arguments----------

参数:x,y
vectors giving the coordinates of the points to be interpolated. x must be strictly monotonic (either increasing or decreasing).
给予的点的坐标的向量要插补。 x必须是严格单调(增加或减少)。


参数:xi
points at which to interpolate.  
点内插。


Details

详细信息----------Details----------

In contrast to spline, pchip preserves the monotonicity of x and y.
相反,spline,pchip保留的单调性x和y。


值----------Value----------

Normally, the interpolated signal, an array of length(xi).
通常情况下,内插信号,一个数组length(xi)。

if xi == NULL, a list of class pp, a piecewise polynomial representation with the following elements:
如果xi == NULL,类pp,一个分段多项式表示包含下列元素的列表:


参数:x
breaks between intervals.  
截断之间的时间间隔。


参数:P
a matrix with n times d rows and k columns. The ith row of P, P[i,], contains the coefficients  for the polynomial over the ith interval, ordered from highest to  lowest. There must be one row for each interval in x.  
n倍d行k列矩阵。的第i行P,P[i,],包含在第i个时间间隔的多项式的系数,下令从最高到最低。必须有一个行的每一个区间中x。


参数:n
number of intervals (length(x) - 1).  
的间隔数(length(x) - 1)。


参数:k
polynomial order.  
多项式阶数。


参数:d
number of polynomials.  
多项式的数目。


(作者)----------Author(s)----------


Original Octave version by Paul Kienzle
<a href="mailto:pkienzle@user.sf.net">pkienzle@user.sf.net</a>. Conversion to R by Tom Short.



参考文献----------References----------

Interpolation&rdquo;, SIAM Journal on Numerical Analysis, vol. 17, pp. 238-246, 1980.


参见----------See Also----------

approx, spline, interp1  
approx,spline,interp1


实例----------Examples----------


xf <- seq(0, 11, length=500)
yf <- sin(2*pi*xf/5)
xp <- c(0:10)
yp <- sin(2*pi*xp/5)
pch  <- pchip(xp, yp, xf)
plot(xp, yp, xlim = c(0, 11))
lines(xf, pch, col = "orange")

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-5-22 18:38 , Processed in 0.019492 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表