Importing data from excel
1 回表示 (過去 30 日間)
古いコメントを表示
Dear all, I have a problem about importing data from Excel rows. I want to do something like this:
for i=1:10 data(i)=std(A(i):G(i)) end
-So I want to update row number too, since my data set has thousands of observations I cannot do it manually. Is it possible to do this in matlab?
Best regards, Can.
0 件のコメント
回答 (2 件)
Kuifeng
2016 年 4 月 9 日
%maybe the function 'size' is what you required.
[rows cols] = size(A);
for i = 1:rows
for j = 1: cols
...
end
end
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Data Import from MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!