Azzera filtri
Azzera filtri

How to zoom out / shrink the matrix to the desired matrix

10 visualizzazioni (ultimi 30 giorni)
Hi guys, I have a question. I have an 8 by 8 matrix for instance, and I tried to shrink it into 5 by 5 matrix. Does the Matlab have the way to do that? I try to extract the odd element in rows and columns but it cannot the exact size of the matrix I want. For example Y = I(1:2: end,1:2: end) and in 8 by 8 matrix case, it will only output the 4 by 4 matrix. Thank you

Risposta accettata

Stephen23
Stephen23 il 10 Mar 2018
Modificato: Stephen23 il 12 Mar 2018
  4 Commenti

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Resizing and Reshaping Matrices in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by