基本上,如果我有以下矩阵:
[1, 2, 3 ,4, 10]
我需要在插值时将其爆炸,如下所示:
[1, 1.5, 2, 2.5, 3, 3.5, 4, 7, 10].
[1, 1.5, 2, 2.5, 3, 3.5, 4, 7, 10]
基本上,通过填写两个周围值的平均值来增强它.
假设我需要为n执行此操作,而不是像我们这里只添加1个值.
matlab interpolation matrix sampling
interpolation ×1
matlab ×1
matrix ×1
sampling ×1