Why does "readtable" improperly read Excel data with "N/A" values, row names, and headers?
Ältere Kommentare anzeigen
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.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Spreadsheets finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!