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!