Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

How can i save Matrix with rows depend on the loop?

1 visualización (últimos 30 días)
Ioannis Tsikriteas
Ioannis Tsikriteas el 27 de Ag. de 2017
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
I have the following loop :
_for k = 1 : length(theFiles)
baseFileName = theFiles(k).name;
fullFileName = fullfile(myFolder, baseFileName);
fprintf(1, 'Now reading %s\n', fullFileName);
x = readtable(fullFileName);
x.x_________SCADA_________________=categorical(x.x_________SCADA_________________);
idx=not(x.x_________SCADA_________________==['ΣΤΡΑΤΟΣ 2']);
x(idx,:)=[];
end_
The loop returns the table x with only one row and 26 collums at each k. I want this row to save it into a second table ,called y, along with all the other results of the loop at the row number y(k,:) which depends from the k that is running each time!
Is this possible?

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by