Why does "readtable" improperly read Excel data with "N/A" values, row names, and headers?
Mostrar comentarios más antiguos
I am trying to read my Excel table, which includes headers, row names, and numeric data, into MATLAB. However, when I use the "readtable" function, my data is imported incorrectly. Here are the specific issues I'm encountering:
- The data are all cells of character vectors instead of doubles.
- Missing data is labeled as "N/A" in Excel. I want these values to show up as NaNs in MATLAB.
- My Excel table has column and row names that I want to be imported, as well.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Spreadsheets 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!