小编use*_*829的帖子

如何在python中执行三次样条插值?

我有两个列表来描述函数y(x):

x = [0,1,2,3,4,5]
y = [12,14,22,39,58,77]
Run Code Online (Sandbox Code Playgroud)

我想执行三次样条插值,以便在x的域中给出一些值u,例如

u = 1.25
Run Code Online (Sandbox Code Playgroud)

我能找到你(你).

在SciPy中发现了这个,但我不知道如何使用它.

python interpolation spline scipy cubic-spline

14
推荐指数
4
解决办法
4万
查看次数

标签 统计

cubic-spline ×1

interpolation ×1

python ×1

scipy ×1

spline ×1