Borrar filtros
Borrar filtros

deleting multiple rows in a matrix

68 visualizaciones (últimos 30 días)
shanmukh
shanmukh el 15 de Feb. de 2013
Comentada: Brian Russell el 24 de Abr. de 2021
how can i completely remove the first 113475 rows in a (879999*1) matrix

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (1)

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

Iniciar sesión para comentar.

Categorías

Más información sobre Logical en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by