- NaN for double, single, duration, and calendarDuration
- NaT for datetime
- <missing> for string
- <undefined> for categorical
- ' ' for char
- {''} for cell of character arrays
Fill missing cells NANs
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
I imported data from textfile using data editor.
Some cells are <missing data>
This is string data.
All cells must be numerical or NAN
How can I fill the missing data cells with NAN?
0 commentaires
Réponses (1)
Cris LaPierre
le 31 Jan 2020
Standard missing values depend on the data type:
If you need NaN, read in your data as numbers instead of strings.
0 commentaires
Voir également
Catégories
En savoir plus sur Tables dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!