Selectring specifics rows of matrix

2 visualizzazioni (ultimi 30 giorni)
Dominik Maly
Dominik Maly il 22 Dic 2018
Riaperto: Walter Roberson il 23 Dic 2018
Hi!
I've got very irritating problem. I've got 259x399 matrix. I want to cut it, beacuse i need only rows from 26 to 104 of each column. How can i do that? Reshape isn't really working

Risposta accettata

Image Analyst
Image Analyst il 22 Dic 2018
It's just super basic MATLAB indexing. Try this:
smallerMatrix = fullMatrix(26 : 104, :);

Più risposte (0)

Categorie

Scopri di più su Resizing and Reshaping Matrices 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