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

4 次查看(过去 30 天)
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?

采纳的回答

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

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by