Removing row of matrix

6 ビュー (過去 30 日間)
Day Hong Kim
Day Hong Kim 2018 年 4 月 21 日
回答済み: Walter Roberson 2018 年 4 月 21 日
If I have a matrix, A = [1,2;3,4;5,6;7,8] How can I delete even rows, so I can get A = [1,2;5,6]

採用された回答

Walter Roberson
Walter Roberson 2018 年 4 月 21 日
A(2:2:end,:) = [];

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by