Correct use of isnan?
조회 수: 7 (최근 30일)
이전 댓글 표시
Hi users Matlab!
Users, I have an matrix as 3 dimensions:
a=10x8x2 (...)
This matrix I have some values that I had to call as NaN (...)
I applied function ()=~isnan() for renove these NaN (...) But, my matrix that had 3 dimensions was only 2 dimensions (...)
I'd like to kwon how to keep my 3 dimensions when use the function ()~isnan()
Thanks!
Carlos
I need that there are withdrawal these NaN in a matrix com 3D
댓글 수: 0
채택된 답변
Azzi Abdelmalek
2014년 7월 14일
편집: Azzi Abdelmalek
2014년 7월 14일
You can't remove some values of your matrix. You can remove columns, rows or channels. Obviously, the size of your matrix will be reduced
댓글 수: 3
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!