spline
Cubic spline data interpolation
Syntax
s = spline(x,y,xq)
pp = spline(x,y)
Description
returns a vector of interpolated values s
= spline(x
,y
,xq
)s
corresponding to the query points in xq
. The values of s
are determined by cubic spline interpolation of x
and y
.
返回与xq中的查询点对应的内插值s的向量。 s的值由x和y的三次样条插值确定。s
= spline(x
,y
,xq
)
xq是使用MATLAB画模拟信号图时,坐标轴的范围以及坐标点之间的间隔。这个间隔应该足够密集。