deleting multiple rows in a matrix

68 visualizzazioni (ultimi 30 giorni)
shanmukh
shanmukh il 15 Feb 2013
Commentato: Brian Russell il 24 Apr 2021
how can i completely remove the first 113475 rows in a (879999*1) matrix

Risposta accettata

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

Accedi per commentare.

Più risposte (1)

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

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by