deleting multiple rows in a matrix
Show older comments
how can i completely remove the first 113475 rows in a (879999*1) matrix
1 Comment
varun sahni
on 2 Nov 2015
m=rand(879999,1) m(1:113475,:)=[]
Accepted Answer
More Answers (1)
Azzi Abdelmalek
on 15 Feb 2013
A(1:113475)=[]
1 Comment
Brian Russell
on 24 Apr 2021
This is not a correct answer. It should read: A(1:113475, :) = [ ]
Categories
Find more on Creating and Concatenating Matrices 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!