Remove row in numeric data
1 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
采纳的回答
更多回答(1 个)
KSSV
2016-11-29
K = rand(200,10) ;
% remove 7 th column
k(:,7) = [] ;
% remove 70 the row
k(70,:) = [] ;
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Other Formats 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!