deleting multiple rows in a matrix

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

 采纳的回答

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

更多回答(1 个)

A(1:113475)=[]

1 个评论

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

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by