フィルターのクリア

save all ans of for loop

1 回表示 (過去 30 日間)
Amr Hashem
Amr Hashem 2015 年 5 月 11 日
コメント済み: Star Strider 2015 年 5 月 12 日
i split a text in cells into words cell1 "text" cell2 "text" cellE "text" but it gives me the last ans only how i can save all the rows
i try:
[num text data]= xlsread('result.xlsx','1') %import data from excel
[R C]=size(data);
for E=1:R % no of rows
d= regexp(data{E,6},'[ ]*','split');
end
how i can save all the answers?

採用された回答

Star Strider
Star Strider 2015 年 5 月 11 日
Save ‘d’ as a cell array:
d{E} = regexp(data{E,6},'[ ]*','split');
  5 件のコメント
Amr Hashem
Amr Hashem 2015 年 5 月 12 日
thank you very much in arabic جزاكم الله خيرا
Star Strider
Star Strider 2015 年 5 月 12 日
My pleasure!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by