MATLAB Answers

LO
0

matrix with mixed data ?

Asked by LO
on 30 May 2019
Latest activity Commented on by LO
on 30 May 2019
I have some variables of mixed type (categorical and numerical)
I would like to build a table or cell array (or a matrix in general) in which all of them are listed, one per column.
categorical values can be repeated for certain row ranges and can be equal, numerical data are individually different.
what type of matrix would be better to perform statistics ?
a table ? a cell array?
thanks !

  0 Comments

Sign in to comment.

1 Answer

Jos (10584)
Answer by Jos (10584)
on 30 May 2019
 Accepted Answer

A table is the most obvious choice for this, especially if you want to do statistics. I suggest you read the manual on tables.

  1 Comment

LO
on 30 May 2019
my plan is to perform CATPCA (categorical principal component analysis). would that work ?
thanks !

Sign in to comment.