Selectring specifics rows of matrix

2 Ansichten (letzte 30 Tage)
Dominik Maly
Dominik Maly am 22 Dez. 2018
Erneut geöffnet: Walter Roberson am 23 Dez. 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

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Resizing and Reshaping Matrices finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by