Chcking in two rows
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Star Strider
2015-4-15
I’m not sure what you’re doing, bu to address only the first two rows of ‘A’:
A(1:2,:);
2 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!