Need for explication of this code
显示 更早的评论
I need explication of this code
V=(1:50);
I=3;
J=4;
M=[];
for i=1:J:I*J
M=[M;V(i:i+I)];
end;
2 个评论
Ruger28
2019-10-23
This "code" isn't even finished...
Alex Mcaulley
2019-10-24
Put a breakpoint in this line:
M=[M;V(i:i+I)];
and see what is happening in each iteration
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!