How do you extract even columns and even rows from an nxn matrix?

38 ビュー (過去 30 日間)
Miguel L
Miguel L 2017 年 9 月 20 日
コメント済み: Miguel L 2017 年 9 月 20 日
How do you extract even columns and even rows from an nxn matrix?
I have a matrix of 2574 x 5148 and I only need the even columns and even rows.
Thanks!

採用された回答

Walter Roberson
Walter Roberson 2017 年 9 月 20 日
YourMatrix(2:2:end, 2:2:end)
  1 件のコメント
Miguel L
Miguel L 2017 年 9 月 20 日
Walter I really appreciate your support!

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

その他の回答 (0 件)

カテゴリ

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

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by