Submatrix Display simple function
显示 更早的评论
Hi! I just need a simple code displaying a submatrix (I guess there is no need to create it by extracting from matrix, I just need to display certain values - rows from 3 to 5 and columns from 2 to 6).
Thanks!
回答(1 个)
A(3:5,2:6)
or
disp(A(3:5,2:6))
1 个评论
Birdman
2018-4-3
Karolina's answer moved here:
Great! Thank you! :))
类别
在 帮助中心 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!