Replacing NaN with blanks in a matrix
조회 수: 4 (최근 30일)
이전 댓글 표시
I've a matrix which looks like the one attached. How do I replace NaNs with blank spaces without altering anything else?
Thanks in advance.
댓글 수: 0
답변 (1개)
Ridwan Alam
2020년 1월 6일
I believe you are looking for fillmissing() or rmmissing():
댓글 수: 4
Ridwan Alam
2020년 1월 9일
I was wondering if it is possible to replace (remove) NaNs and have 'empty cells' instead.
Nope, I don't think that's possible. Sorry.
참고 항목
카테고리
Help Center 및 File Exchange에서 NaNs에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!