Why does "readtable" improperly read Excel data with "N/A" values, row names, and headers?
Afficher commentaires plus anciens
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.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Spreadsheets dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!