Need for explication of this code
Afficher commentaires plus anciens
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 commentaires
Ruger28
le 23 Oct 2019
This "code" isn't even finished...
Alex Mcaulley
le 24 Oct 2019
Put a breakpoint in this line:
M=[M;V(i:i+I)];
and see what is happening in each iteration
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Matrix Indexing dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!