这个table的空格如何在Octave中通过插值进行插值和填空?
How to interpolate and fill in the blanks of this table by interpolation in Octave?
我有一个 table 这样的:
我必须使用 Octave 对此进行插值。我该怎么做?
如果您只想进行一维插值,interp1
通常是可行的方法。例如,样条插值看起来还不错:
代码如下:
我有一个 table 这样的:
我必须使用 Octave 对此进行插值。我该怎么做?
如果您只想进行一维插值,interp1
通常是可行的方法。例如,样条插值看起来还不错:
代码如下: