Need for explication of this code
Show older comments
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 Comments
Ruger28
on 23 Oct 2019
This "code" isn't even finished...
Alex Mcaulley
on 24 Oct 2019
Put a breakpoint in this line:
M=[M;V(i:i+I)];
and see what is happening in each iteration
Accepted Answer
More Answers (0)
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!