如标题所建议。我有一个485行13列的csv文件。当我使用csvread将数据导入到变量中时。创建的变量是1x65821,而不是13x485。如果我通过在文件上单击鼠标右键使用八度的“加载数据”选项,它将完全加载13x485尺寸的变量。 这是我正在使用的命令。请建议我的用法是否有谬误。
data = csvread('crossvalidationdata.csv');
错误导入的数据变量
八度音色的内部“ LOAD DATA”选项
正确导入的数据变量
编辑:从文件中添加前5行以供参考。
-0.495743293,-0.470324816,-1.107378663,-0.157285276,-1.571269039,-0.792261582,0,-0.120889027,0.917805011,-0.620418406,1.732645912,-0.406845664,3
0.943990222,-0.470324816,0.575198566,-0.27464429,-0.879560223,2.078908275,0,8.25499358,-1.08730954,-0.620418406,-0.575961965,-0.406845664,13
5.263190768,2.121806272,-0.266090048,0.66422782,-0.385482498,-1.168137704,0,-0.120889027,-1.08730954,-0.620418406,-0.575961965,-0.406845664,2
-0.495743293,-0.470324816,0.575198566,-0.744080345,0.997935134,-0.810264357,0,-0.120889027,0.917805011,-0.620418406,1.732645912,-0.406845664,3
0.943990222,2.121806272,1.416487181,0.194791765,-1.077191313,-0.66078677,0,-0.120889027,-1.08730954,-0.620418406,-0.575961965,-0.406845664,2