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
0 个评论
采纳的回答
Image Analyst
2018-12-22
It's just super basic MATLAB indexing. Try this:
smallerMatrix = fullMatrix(26 : 104, :);
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!