Chcking in two rows
Mostrar comentarios más antiguos
I have a matrix A and i want to check only two rows of this matrix,and i dont want to check all the matrix.For example A=[row1;row2;row3;row4;row5;row6] and i want to check and run only the rows 1 and 5.How i will do that?
1 comentario
Jan
el 16 de Abr. de 2015
You are aware, that we cannot know what "check and run" exactly means, are you?
Respuestas (1)
Star Strider
el 15 de Abr. de 2015
I’m not sure what you’re doing, bu to address only the first two rows of ‘A’:
A(1:2,:);
2 comentarios
Giannakis Stoukas
el 15 de Abr. de 2015
Star Strider
el 15 de Abr. de 2015
Clarifying, to address only rows 3 and 5:
A([3 5],:)
Categorías
Más información sobre Special Functions en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!