【发布时间】:2013-03-26 16:20:08
【问题描述】:
我想要一个简单的插值。我在许多带有 interp1 的 Matlab 示例中看到,但是......它总是带有数据点!不是一维数据!
我想要这个功能:
my_vector = interpolate(init, end, steps);
例如:
[1 10] % Interpolate in 7 steps --> [1 2.5 4 5.5 7 8.5 10]
[5 -5] % Interpolate in 3 steps --> [5 0 -5]
【问题讨论】:
标签: matlab interpolation