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

조회 수: 1 (최근 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