hello,
i have here a matrix called A, which is equal :
1 8 2
5 4 8
4 4 1
A = 5 1 0
4 8 7
4 4 4
4 4 1
my goal is to extract the 1st 3rd and second to last (6th) rows.
how can do it?

 採用された回答

Sindar
Sindar 2020 年 2 月 16 日
編集済み: Sindar 2020 年 2 月 16 日

0 投票

A([1 3 end-1],:)

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMatrix Indexing についてさらに検索

製品

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by