delete null in matrix
조회 수: 25 (최근 30일)
이전 댓글 표시
I have matrix M=[ 0 0 0 7.9286 10.1000 14.3714]
I want to delete null in matrix.
I want matrix M=[7.9286 10.1000 14.3714]
Thanks
댓글 수: 0
채택된 답변
Azzi Abdelmalek
2013년 12월 14일
편집: Azzi Abdelmalek
2013년 12월 14일
M=[ 0 0 0 ; 7.9286 10.1000 14.3714]
M=M(all(M,2),:)
댓글 수: 3
추가 답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!