deleting multiple rows in a matrix

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

1 件のコメント

varun sahni
varun sahni 2015 年 11 月 2 日
m=rand(879999,1) m(1:113475,:)=[]

サインインしてコメントする。

 採用された回答

José-Luis
José-Luis 2013 年 2 月 15 日

1 投票

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

1 件のコメント

shanmukh
shanmukh 2013 年 2 月 15 日
thank you, i takes time but i get the required output

サインインしてコメントする。

その他の回答 (1 件)

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 2 月 15 日

2 投票

A(1:113475)=[]

1 件のコメント

Brian Russell
Brian Russell 2021 年 4 月 24 日
This is not a correct answer. It should read: A(1:113475, :) = [ ]

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeCreating and Concatenating Matrices についてさらに検索

質問済み:

2013 年 2 月 15 日

コメント済み:

2021 年 4 月 24 日

Community Treasure Hunt

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

Start Hunting!

Translated by