MATLAB: Selectring specifics rows of matrix

indexingmaskingMATLABmatrixrows

Hi!
I've got very irritating problem. I've got 259×399 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

Best Answer

It's just super basic MATLAB indexing. Try this:
smallerMatrix = fullMatrix(26 : 104, :);