我想在Octave中运行我的MATLAB脚本,但是该table功能在Octave中尚不存在问题。
我要使用的表的摘录如下:
Rotation angle Measured distance
-0,342 0,000
-1,440 0,000
-10,422 0,000
-11,574 0,000
-21,060 0,000
-21,528 0,000
-30,402 0,000
Run Code Online (Sandbox Code Playgroud)
为了创建我的输出变量,我在MATLAB中使用以下代码。
data = table;
data.Rotationangle = cell2mat(raw(:, 1));
data.Measureddistance = cell2mat(raw(:, 2));
Run Code Online (Sandbox Code Playgroud)
在八度,然后出现以下错误。
warning: the 'table' function is not yet implemented in Octave
Please read <https://www.octave.org/missing.html> to learn how you can
contribute missing functionality.
error: 'table' undefined near line 102 column 8
error: called from
Cloud_reconstruction at line 102 column 6
Run Code Online (Sandbox Code Playgroud)
我的问题是,现在是否有机会替换Octave中的表函数?我试图找到一个使用Octave data frame软件包的解决方案,但实际上并没有能力。
在同一脚本中,我还使用了table2array尚未在Octave中实现的函数,以后也会发生错误。 …