Clear Filters
Clear Filters

deleting multiple rows in a matrix

68 views (last 30 days)
how can i completely remove the first 113475 rows in a (879999*1) matrix

Accepted Answer

José-Luis
José-Luis on 15 Feb 2013
your_mat = your_mat(113476:end,:);
Please read the Getting started part of the documentation.
  1 Comment
shanmukh
shanmukh on 15 Feb 2013
thank you, i takes time but i get the required output

Sign in to comment.

More Answers (1)

Azzi Abdelmalek
Azzi Abdelmalek on 15 Feb 2013
A(1:113475)=[]
  1 Comment
Brian Russell
Brian Russell on 24 Apr 2021
This is not a correct answer. It should read: A(1:113475, :) = [ ]

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!