3
我想插入到scipy中。我在特定时间段t1有3个坐标值。scipy中的线性插值
x 44.254 44.114 44.353 44.899 45.082
y -0.934 0.506 1.389 0.938 0.881
z 44.864 45.225 44.005 42.981 46.356
在t1时刻
t1 0 0.0005413307 0.0010949014 0.0015468832 0.0027740823
我需要找到在时间t2坐标。
t2 0 0.00392157 0.00784314 0.01176471 0.01568627 0.019607
我有x,t1和t2作为numpy数组。
x [ [44.254 44.114 44.353 44.899 45.082] [-0.934 0.506 1.389 0.938 0.881] [44.864 45.225 44.005 42.981 46.356]]
t1 [ 0 0.0005413307 0.0010949014 0.0015468832 0.0027740823]
t2 [ 0 0.00392157 0.00784314 0.01176471 0.01568627 0.019607]
如何使用scipy.interp1?
谢谢alot.i了解它。 – sam
你能告诉我怎样才能用新旧坐标随时间绘制图表? – sam