Borrar filtros
Borrar filtros

save all ans of for loop

1 visualización (últimos 30 días)
Amr Hashem
Amr Hashem el 11 de Mayo de 2015
Comentada: Star Strider el 12 de Mayo de 2015
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?

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by