Getting zeros when empty
9 次查看(过去 30 天)
显示 更早的评论
Hi, I am plotting one particular column from a txt file using dlmread. Whenever there is an empty cell (though other columns do have values), I am getting zero values plotted, even though I do not want them. I would like it to read those cells as 'not existing'. Thank you to anyone who can help!
0 个评论
回答(1 个)
Walter Roberson
2021-2-18
You cannot do that using dlmread(). Use readmatrix() or readtable() or textscan()
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!