deleting multiple rows in a matrix

how can i completely remove the first 113475 rows in a (879999*1) matrix

 Risposta accettata

your_mat = your_mat(113476:end,:);
Please read the Getting started part of the documentation.

1 Commento

thank you, i takes time but i get the required output

Accedi per commentare.

Più risposte (1)

A(1:113475)=[]

1 Commento

This is not a correct answer. It should read: A(1:113475, :) = [ ]

Accedi per commentare.

Categorie

Community Treasure Hunt

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

Start Hunting!

Translated by