线性插值
X = (A + B) / 2
cos插值
X = A * {1 - [1 - cos(X * pi)]
/ 2} + B * [1 - cos(X * pi)] / 2
三次多项式插值
X
= [(B‘ - B) - (A‘ - A)] * X^3 +
{(A‘ - A) - [(B‘ - B) - (A‘ - A)]} * X^2 + (B - A‘) * X + A
几种常见的插值法
时间: 2024-09-27 11:26:08
X = (A + B) / 2
X = A * {1 - [1 - cos(X * pi)]
/ 2} + B * [1 - cos(X * pi)] / 2
X
= [(B‘ - B) - (A‘ - A)] * X^3 +
{(A‘ - A) - [(B‘ - B) - (A‘ - A)]} * X^2 + (B - A‘) * X + A
几种常见的插值法