필터 지우기
필터 지우기

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 CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by