Azzera filtri
Azzera filtri

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

13 visualizzazioni (ultimi 30 giorni)
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!

Risposta accettata

Walter Roberson
Walter Roberson il 20 Set 2017
YourMatrix(2:2:end, 2:2:end)

Più risposte (0)

Categorie

Scopri di più su MATLAB in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by