How is this simple code read?
显示 更早的评论
My code is as follows :
mat = [1 2 3 ; 4,5,6 ; 7 8 9];
mat([2 3], [2 3])
Question: Why is the output
5 6
8 9
and how is that determined?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Get Started with MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!