Importing Excel-Spreadsheet with columns of NaN
Mostrar comentarios más antiguos
Hi,
I have a large dataset in an Excel-Spreadsheet which contains some columns with only NaN. The first row of the spreadsheet contains the column names (strings).
I would like to find the column names that are associated with NaN-columns. Is there a way to do this?
Thanks!
Respuestas (1)
nl2605
el 12 de Mzo. de 2014
0 votos
Use xlsread. [num,txt,raw] = xlsread('filename.xlsx'); and then check with 'isnan' to get the corresponding column name.
Categorías
Más información sobre Tables 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!