Selectring specifics rows of matrix

2 次查看(过去 30 天)
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

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by