Getting zeros when empty
Mostrar comentarios más antiguos
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!
Respuestas (1)
Walter Roberson
el 18 de Feb. de 2021
0 votos
You cannot do that using dlmread(). Use readmatrix() or readtable() or textscan()
1 comentario
ARAR
el 20 de Feb. de 2021
Categorías
Más información sobre Cell Arrays en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!