Selectring specifics rows of matrix

2 views (last 30 days)
Dominik Maly
Dominik Maly on 22 Dec 2018
Reopened: Walter Roberson on 23 Dec 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

Accepted Answer

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

More Answers (0)

Categories

Find more on Resizing and Reshaping Matrices in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!