Filter löschen
Filter löschen

deleting multiple rows in a matrix

68 Ansichten (letzte 30 Tage)
shanmukh
shanmukh am 15 Feb. 2013
Kommentiert: Brian Russell am 24 Apr. 2021
how can i completely remove the first 113475 rows in a (879999*1) matrix

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

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

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by