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!