How do I distinguish cell or categorical arrays from the numeric columns in a dataset array?

1 visualización (últimos 30 días)
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?

Respuesta aceptada

Image Analyst
Image Analyst el 9 de Ag. de 2016
Try calling class() on each column and seeing what it reports the data type is.

Más respuestas (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by