Clear Filters
Clear Filters

Remove row in numeric data

1 view (last 30 days)
Jeong_evolution
Jeong_evolution on 29 Nov 2016
Commented: Jeong_evolution on 29 Nov 2016
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

Accepted Answer

Roger Stafford
Roger Stafford on 29 Nov 2016
Edited: Roger Stafford on 29 Nov 2016
Dataset = Dataset(1:3:end,:);
  1 Comment
Jeong_evolution
Jeong_evolution on 29 Nov 2016
Thanks, Roger. I was thoughtless to speak that way. ^^:

Sign in to comment.

More Answers (1)

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

Categories

Find more on Graphics Object Identification in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!