Hi all
I have 200 x 10 numeric data.
In data set, I want to remove 2,3, 5,6, 8,9,...197,198
Finally, row in Dataset remain 1,4,7,10,13,16,19,..199

 Respuesta aceptada

Roger Stafford
Roger Stafford el 29 de Nov. de 2016
Editada: Roger Stafford el 29 de Nov. de 2016

0 votos

Dataset = Dataset(1:3:end,:);

1 comentario

Jeong_evolution
Jeong_evolution el 29 de Nov. de 2016
Thanks, Roger. I was thoughtless to speak that way. ^^:

Iniciar sesión para comentar.

Más respuestas (1)

KSSV
KSSV el 29 de Nov. de 2016

0 votos

K = rand(200,10) ;
% remove 7 th column
k(:,7) = [] ;
% remove 70 the row
k(70,:) = [] ;

Categorías

Más información sobre Statistics and Machine Learning Toolbox en Centro de ayuda y File Exchange.

Preguntada:

el 29 de Nov. de 2016

Comentada:

el 29 de Nov. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by