How do I distinguish cell or categorical arrays from the numeric columns in a dataset array?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
sh10101
le 9 Août 2016
Commenté : Sean de Wolski
le 9 Août 2016
I'm working with a dataset array with both numeric and string inputs. I am looking to distinguish the cell or categorical arrays from the numeric columns. Is there a simple function for this?
1 commentaire
Réponse acceptée
Image Analyst
le 9 Août 2016
Try calling class() on each column and seeing what it reports the data type is.
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!