How to select specific entries of a matrix?

1 回表示 (過去 30 日間)
Ammy
Ammy 2021 年 8 月 31 日
コメント済み: Ammy 2021 年 8 月 31 日
How to select elements of matrix at the following rows and columns
1,4,7,10,13,16,...
In other words, select elements of matrix at first row and first column, fourth row and fourth column, seventh row and seventh column and so on...

採用された回答

Matt J
Matt J 2021 年 8 月 31 日
A(1:3:end,1:3:end)
  1 件のコメント
Ammy
Ammy 2021 年 8 月 31 日
Thank you.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMultidimensional Arrays についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by