allocation of data, column by column
2 次查看(过去 30 天)
显示 更早的评论
Hello,
I am reading several csv files, each having 2 columns (and X-column and Y-column) with an equal number of rows
I would like to assign this data to one matrix, something like the code below. It does not work. What am I missing?
Thanks
for i=1:3
A=xlsread(fln(i));
results(:,i)=A(:,2)
end
1 个评论
Jan
2021-12-25
Please explain "It does not work" with any details. Di you get an error message? If so, which one?
What is the contents of "fln" or is this a function?
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 String Parsing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!