Getting zeros when empty
조회 수: 8 (최근 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!