Need for explication of this code
Mostrar comentarios más antiguos
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 comentarios
Ruger28
el 23 de Oct. de 2019
This "code" isn't even finished...
Alex Mcaulley
el 24 de Oct. de 2019
Put a breakpoint in this line:
M=[M;V(i:i+I)];
and see what is happening in each iteration
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Matrix Indexing en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!