finding NON in matrix
이전 댓글 표시
Hi all In the matrix A which is 1*N matrix, I want to recognize if there is any element equal to NON in it,I replace it by zero.How can I do that?
채택된 답변
추가 답변 (1개)
Sean de Wolski
2011년 5월 24일
A(isnan(A)) = 0;
댓글 수: 1
Walter Roberson
2011년 5월 24일
You're fast today, Sean!
카테고리
도움말 센터 및 File Exchange에서 Cell Arrays에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!