Replacing NaN with blanks in a matrix
1 次查看(过去 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!