delete matrix row with certain value
이전 댓글 표시
how can i remove the rows with a certain number say, 2?
채택된 답변
추가 답변 (1개)
Adam
2014년 11월 11일
A = [2 3 4 5; 6 7 8 9; 2 1 1 1; 3 3 3 3];
A( any(A == 2, 2 ),: ) = [];
카테고리
도움말 센터 및 File Exchange에서 Simulink에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!