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

 채택된 답변

Roger Stafford
Roger Stafford 2016년 11월 29일
편집: Roger Stafford 2016년 11월 29일

0 개 추천

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

댓글 수: 1

Jeong_evolution
Jeong_evolution 2016년 11월 29일
Thanks, Roger. I was thoughtless to speak that way. ^^:

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

KSSV
KSSV 2016년 11월 29일

0 개 추천

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

카테고리

도움말 센터File Exchange에서 Statistics and Machine Learning Toolbox에 대해 자세히 알아보기

질문:

2016년 11월 29일

댓글:

2016년 11월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by