Selectring specifics rows of matrix

2 vues (au cours des 30 derniers jours)
Dominik Maly
Dominik Maly le 22 Déc 2018
Rouvert : Walter Roberson le 23 Déc 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

Réponse acceptée

Image Analyst
Image Analyst le 22 Déc 2018
It's just super basic MATLAB indexing. Try this:
smallerMatrix = fullMatrix(26 : 104, :);
  1 commentaire
Dominik Maly
Dominik Maly le 22 Déc 2018
Thank You very much, it's really easy :D

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Resizing and Reshaping Matrices dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by